|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.io.pof.PofBufferWriter.ReferenceLibrary
public static class PofBufferWriter.ReferenceLibrary
A "library" of object references and their corresponding identities in the POF stream.
Field Summary | |
---|---|
protected java.util.IdentityHashMap |
m_mapIdentities A map from objects that can be referenced to their Integer identities. |
Constructor Summary | |
---|---|
PofBufferWriter.ReferenceLibrary() |
Method Summary | |
---|---|
int |
getIdentity(java.lang.Object o) Look up an identity for an object. |
int |
registerReference(java.lang.Object o) Register an object. |
Field Detail |
---|
protected java.util.IdentityHashMap m_mapIdentities
Constructor Detail |
---|
public PofBufferWriter.ReferenceLibrary()
Method Detail |
---|
public int getIdentity(java.lang.Object o)
o
- the objectpublic int registerReference(java.lang.Object o)
o
- the objectjava.lang.IllegalStateException
- if the object is already registered
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |