org.mule.issues
Class PersistentStore6007TestCase.PersistentObjectStore

java.lang.Object
  extended by org.mule.issues.PersistentStore6007TestCase.PersistentObjectStore
All Implemented Interfaces:
ListableObjectStore, ObjectStore
Enclosing class:
PersistentStore6007TestCase

public static class PersistentStore6007TestCase.PersistentObjectStore
extends Object
implements ListableObjectStore

A store that "persists" events using keys that are not QueueEntry's


Constructor Summary
PersistentStore6007TestCase.PersistentObjectStore()
           
 
Method Summary
 List<Serializable> allKeys()
           
 void close()
           
 boolean contains(Serializable key)
           
 boolean isPersistent()
           
 void open()
           
 Serializable remove(Serializable key)
           
 Serializable retrieve(Serializable key)
           
 void store(Serializable key, Serializable value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistentStore6007TestCase.PersistentObjectStore

public PersistentStore6007TestCase.PersistentObjectStore()
Method Detail

open

public void open()
          throws ObjectStoreException
Specified by:
open in interface ListableObjectStore
Throws:
ObjectStoreException

close

public void close()
           throws ObjectStoreException
Specified by:
close in interface ListableObjectStore
Throws:
ObjectStoreException

allKeys

public List<Serializable> allKeys()
                           throws ObjectStoreException
Specified by:
allKeys in interface ListableObjectStore
Throws:
ObjectStoreException

contains

public boolean contains(Serializable key)
                 throws ObjectStoreException
Specified by:
contains in interface ObjectStore
Throws:
ObjectStoreException

store

public void store(Serializable key,
                  Serializable value)
           throws ObjectStoreException
Specified by:
store in interface ObjectStore
Throws:
ObjectStoreException

retrieve

public Serializable retrieve(Serializable key)
                      throws ObjectStoreException
Specified by:
retrieve in interface ObjectStore
Throws:
ObjectStoreException

remove

public Serializable remove(Serializable key)
                    throws ObjectStoreException
Specified by:
remove in interface ObjectStore
Throws:
ObjectStoreException

isPersistent

public boolean isPersistent()
Specified by:
isPersistent in interface ObjectStore


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