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>


Method Summary
 List<Serializable> allKeys(String partitionName)
           
 List<String> allPartitions()
           
 void close(String partitionName)
           
 boolean contains(Serializable key, String partitionName)
           
 void disposePartition(String partitionName)
           
 void open(String partitionName)
           
 T remove(Serializable key, String partitionName)
           
 T retrieve(Serializable key, String partitionName)
           
 void store(Serializable key, T value, String partitionName)
           
 
Methods inherited from interface org.mule.api.store.ListableObjectStore
allKeys, close, open
 
Methods inherited from interface org.mule.api.store.ObjectStore
contains, isPersistent, remove, retrieve, store
 

Method Detail

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.