org.granite.messaging.persistence
Interface PersistentCollectionSnapshot

All Superinterfaces:
Externalizable, Serializable
All Known Implementing Classes:
AMFPersistentCollectionSnapshot, JMFPersistentCollectionSnapshot

public interface PersistentCollectionSnapshot
extends Externalizable

Author:
Franck WOLFF

Method Summary
 String getDetachedState()
           
<T> Collection<T>
getElementsAsCollection()
           
<K,V> Map<K,V>
getElementsAsMap()
           
 boolean isDirty()
           
 boolean isInitialized()
           
 boolean isSorted()
           
<T> Comparator<T>
newComparator(ObjectInput in)
           
 void readCoreData(ObjectInput in)
           
 void readInitializationData(ObjectInput in)
           
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

isInitialized

boolean isInitialized()

getDetachedState

String getDetachedState()

isDirty

boolean isDirty()

isSorted

boolean isSorted()

newComparator

<T> Comparator<T> newComparator(ObjectInput in)
                            throws ClassNotFoundException,
                                   InstantiationException,
                                   IllegalAccessException,
                                   InvocationTargetException,
                                   SecurityException,
                                   NoSuchMethodException
Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException
InvocationTargetException
SecurityException
NoSuchMethodException

getElementsAsCollection

<T> Collection<T> getElementsAsCollection()

getElementsAsMap

<K,V> Map<K,V> getElementsAsMap()

readInitializationData

void readInitializationData(ObjectInput in)
                            throws IOException,
                                   ClassNotFoundException
Throws:
IOException
ClassNotFoundException

readCoreData

void readCoreData(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException