@Service(name="noop") public class NoOpBackingStoreFactory extends Object implements BackingStoreFactory
Constructor and Description |
---|
NoOpBackingStoreFactory() |
Modifier and Type | Method and Description |
---|---|
<K extends Serializable,V extends Serializable> |
createBackingStore(BackingStoreConfiguration<K,V> conf)
This method is called to create a BackingStore.
|
BackingStoreTransaction |
createBackingStoreTransaction() |
public <K extends Serializable,V extends Serializable> BackingStore<K,V> createBackingStore(BackingStoreConfiguration<K,V> conf) throws BackingStoreException
BackingStoreFactory
If the factory can produce a BackingStore that can handle the factors specified in the conf, then it must return a fully initialized and operational BackingStore. Else it must return null.
createBackingStore
in interface BackingStoreFactory
conf
- The BackingStoreConfigurationBackingStoreException
- If the store could not be createdpublic BackingStoreTransaction createBackingStoreTransaction()
createBackingStoreTransaction
in interface BackingStoreFactory
Copyright © 2015 Oracle Corporation. All rights reserved.