public class MemoryStoreFactory extends BaseStoreFactory
StoreFactory for creating memory-based Store implementations
If a timeout has been specified, a TimeoutMemoryStore will be created,
otherwise the factory will build a plain MemoryStorestoreListeners| Constructor and Description |
|---|
MemoryStoreFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(Store store)
Closes a
Store with the specified name, |
Store |
open(java.lang.String name)
Opens a
Store with the specified name. |
void |
setTimeout(long timeout) |
getStoreListeners, setStoreListenerspublic Store open(java.lang.String name) throws java.io.IOException
StoreFactoryStore with the specified name.java.io.IOExceptionpublic void close(Store store) throws java.io.IOException
StoreFactoryStore with the specified name,java.io.IOExceptionpublic void setTimeout(long timeout)
Copyright © 2005-2014 FuseSource. All Rights Reserved.