org.mule.api.store
Interface PartitionableObjectStore<T extends Serializable>
- All Superinterfaces:
- ListableObjectStore<T>, ObjectStore<T>
- All Known Subinterfaces:
- PartitionableExpirableObjectStore<T>
- All Known Implementing Classes:
- AbstractPartitionedObjectStore, PartitionedInMemoryObjectStore, PartitionedPersistentObjectStore
public interface PartitionableObjectStore<T extends Serializable>
- extends ListableObjectStore<T>
contains
boolean contains(Serializable key,
String partitionName)
throws ObjectStoreException
- Throws:
ObjectStoreException
store
void store(Serializable key,
T value,
String partitionName)
throws ObjectStoreException
- Throws:
ObjectStoreException
retrieve
T retrieve(Serializable key,
String partitionName)
throws ObjectStoreException
- Throws:
ObjectStoreException
remove
T remove(Serializable key,
String partitionName)
throws ObjectStoreException
- Throws:
ObjectStoreException
allKeys
List<Serializable> allKeys(String partitionName)
throws ObjectStoreException
- Throws:
ObjectStoreException
allPartitions
List<String> allPartitions()
throws ObjectStoreException
- Throws:
ObjectStoreException
open
void open(String partitionName)
throws ObjectStoreException
- Throws:
ObjectStoreException
close
void close(String partitionName)
throws ObjectStoreException
- Throws:
ObjectStoreException
disposePartition
void disposePartition(String partitionName)
throws ObjectStoreException
- Throws:
ObjectStoreException
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.