Class AbstractPipelineDefinitionStore<T extends com.lucidworks.apollo.pipeline.PipelineDefinition<T>>
java.lang.Object
com.lucidworks.apollo.store.AbstractItemReadStore<T>
com.lucidworks.apollo.store.AbstractItemStore<T>
com.lucidworks.apollo.store.ItemStore<T>
com.lucidworks.apollo.pipeline.impl.AbstractPipelineDefinitionStore<T>
- All Implemented Interfaces:
PipelineDefinitionRegistry<T>,com.lucidworks.apollo.store.ItemReadStore<T>,com.lucidworks.apollo.store.ItemReadWriteStore<T>,com.lucidworks.apollo.store.ItemWriteStore<T>
public abstract class AbstractPipelineDefinitionStore<T extends com.lucidworks.apollo.pipeline.PipelineDefinition<T>>
extends com.lucidworks.apollo.store.ItemStore<T>
implements PipelineDefinitionRegistry<T>
Bridge between PipelineDefinitionRegistry and ItemStore
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.lucidworks.apollo.store.ItemReadStore
com.lucidworks.apollo.store.ItemReadStore.ItemAndVersion<T extends Object> -
Field Summary
Fields inherited from class com.lucidworks.apollo.store.ItemStore
createMode, curatorFrameworkFields inherited from class com.lucidworks.apollo.store.AbstractItemStore
itemWriter, notFound, putItemTimer, serializeTimer, storePathFields inherited from class com.lucidworks.apollo.store.AbstractItemReadStore
CHARSET, deserializeTimer, getItemTimer, itemPath, itemReader, listItemsTimer, LOG, metricRegistry -
Constructor Summary
ConstructorsConstructorDescriptionAbstractPipelineDefinitionStore(org.apache.curator.framework.CuratorFramework curator, com.codahale.metrics.MetricRegistry metricRegistry, String storePath, com.lucidworks.apollo.store.ItemReader<T> itemReader, com.lucidworks.apollo.store.ItemWriter<T> itemWriter) -
Method Summary
Methods inherited from class com.lucidworks.apollo.store.ItemStore
checkDataLengthError, createItem, createItemOp, deleteAllItems, deleteItem, deleteItemOp, getCreateMode, getItem, getItemBytes, getItems, hasItem, listItems, putItem, putItem, replaceItem, replaceItemOpMethods inherited from class com.lucidworks.apollo.store.AbstractItemStore
asBytesMethods inherited from class com.lucidworks.apollo.store.AbstractItemReadStore
convert, getPath, metricNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.lucidworks.apollo.store.ItemWriteStore
deleteItem, putItem
-
Constructor Details
-
AbstractPipelineDefinitionStore
public AbstractPipelineDefinitionStore(org.apache.curator.framework.CuratorFramework curator, com.codahale.metrics.MetricRegistry metricRegistry, String storePath, com.lucidworks.apollo.store.ItemReader<T> itemReader, com.lucidworks.apollo.store.ItemWriter<T> itemWriter) throws Exception - Throws:
Exception
-
-
Method Details
-
shutdown
- Throws:
IOException
-
register
- Specified by:
registerin interfacePipelineDefinitionRegistry<T extends com.lucidworks.apollo.pipeline.PipelineDefinition<T>>
-
getCached
- Specified by:
getCachedin interfacePipelineDefinitionRegistry<T extends com.lucidworks.apollo.pipeline.PipelineDefinition<T>>
-
get
- Specified by:
getin interfacePipelineDefinitionRegistry<T extends com.lucidworks.apollo.pipeline.PipelineDefinition<T>>
-
update
- Specified by:
updatein interfacePipelineDefinitionRegistry<T extends com.lucidworks.apollo.pipeline.PipelineDefinition<T>>
-
unregister
- Specified by:
unregisterin interfacePipelineDefinitionRegistry<T extends com.lucidworks.apollo.pipeline.PipelineDefinition<T>>
-
list
- Specified by:
listin interfacePipelineDefinitionRegistry<T extends com.lucidworks.apollo.pipeline.PipelineDefinition<T>>
-