org.apache.servicemix.store.memory
Class MemoryStoreFactory
java.lang.Object
org.apache.servicemix.store.memory.MemoryStoreFactory
- All Implemented Interfaces:
- StoreFactory
public class MemoryStoreFactory
- extends java.lang.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(java.lang.String name)
throws java.io.IOException
- Specified by:
open
in interface StoreFactory
- Throws:
java.io.IOException
close
public void close(Store store)
throws java.io.IOException
- Specified by:
close
in interface StoreFactory
- Throws:
java.io.IOException
setTimeout
public void setTimeout(long timeout)
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.