Class WatchLogIndexWriter
- java.lang.Object
-
- com.floragunn.signals.watch.result.WatchLogIndexWriter
-
- All Implemented Interfaces:
WatchLogWriter
public class WatchLogIndexWriter extends Object implements WatchLogWriter
TODO maybe integrate this with scheduler framework? We won't get logs right now if something in the scheduler goes wrong
-
-
Constructor Summary
Constructors Constructor Description WatchLogIndexWriter(org.elasticsearch.client.Client client, String tenant, SignalsSettings settings, org.elasticsearch.common.xcontent.ToXContent.Params toXparams)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WatchLogIndexWriterforTenant(org.elasticsearch.client.Client client, String tenantName, SignalsSettings settings, org.elasticsearch.common.xcontent.ToXContent.Params toXparams)voidput(WatchLog watchLog)
-
-
-
Constructor Detail
-
WatchLogIndexWriter
public WatchLogIndexWriter(org.elasticsearch.client.Client client, String tenant, SignalsSettings settings, org.elasticsearch.common.xcontent.ToXContent.Params toXparams)
-
-
Method Detail
-
put
public void put(WatchLog watchLog)
- Specified by:
putin interfaceWatchLogWriter
-
forTenant
public static WatchLogIndexWriter forTenant(org.elasticsearch.client.Client client, String tenantName, SignalsSettings settings, org.elasticsearch.common.xcontent.ToXContent.Params toXparams)
-
-