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