org.apache.servicemix.store.memory
Class MemoryStoreFactory
java.lang.Object
org.apache.servicemix.store.memory.MemoryStoreFactory
- All Implemented Interfaces:
- StoreFactory
public class MemoryStoreFactory
- extends Object
- implements StoreFactory
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 MemoryStore
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryStoreFactory
public MemoryStoreFactory()
open
public Store open(String name)
throws IOException
- Specified by:
open in interface StoreFactory
- Throws:
IOException
close
public void close(Store store)
throws IOException
- Specified by:
close in interface StoreFactory
- Throws:
IOException
setTimeout
public void setTimeout(long timeout)
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.