org.mule.api.store
Interface ListableObjectStore<T extends Serializable>

All Superinterfaces:
ObjectStore<T>
All Known Subinterfaces:
PartitionableExpirableObjectStore<T>, PartitionableObjectStore<T>, QueueStore<T>
All Known Implementing Classes:
AbstractPartitionedObjectStore, ManagedObjectStore, MonitoredObjectStoreWrapper, ObjectStorePartition, PartitionedInMemoryObjectStore, PartitionedObjectStoreWrapper, PartitionedPersistentObjectStore, QueuePersistenceObjectStore, QueueStoreAdapter, SimpleMemoryObjectStore

public interface ListableObjectStore<T extends Serializable>
extends ObjectStore<T>


Method Summary
 List<Serializable> allKeys()
           
 void close()
          Close the underlying store.
 void open()
          Open the underlying store.
 
Methods inherited from interface org.mule.api.store.ObjectStore
contains, isPersistent, remove, retrieve, store
 

Method Detail

open

void open()
          throws ObjectStoreException
Open the underlying store.

Throws:
ObjectStoreException - if an exception occurred while opening the underlying store.

close

void close()
           throws ObjectStoreException
Close the underlying store.

Throws:
ObjectStoreException - if an exception occurred while closing the underlying store.

allKeys

List<Serializable> allKeys()
                           throws ObjectStoreException
Returns:
list containing all keys that this object store currently holds values for.
Throws:
ObjectStoreException - if an exception occurred while collecting the list of all keys.


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.