public class EphemeralItemStore<T>
extends <any>
com.lucidworks.apollo.store.EphemeralItemStore
that has
WhenReady
and PreDestroy
lifecycle methods.Constructor and Description |
---|
EphemeralItemStore(CuratorFramework curator,
MetricRegistry metricRegistry,
java.lang.String storePath,
ItemReader itemReader,
ItemWriter itemWriter) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
init(CuratorComponent curator) |
public EphemeralItemStore(CuratorFramework curator, MetricRegistry metricRegistry, java.lang.String storePath, ItemReader itemReader, ItemWriter itemWriter)
@WhenReady public void init(CuratorComponent curator)
@PreDestroy public void close() throws java.io.IOException
java.io.IOException