|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| 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 IdentityHashMap |
m_mapIdentitiesA map from objects that can be referenced to their Integer identities. |
| Constructor Summary | |
|---|---|
PofBufferWriter.ReferenceLibrary() |
|
| Method Summary | |
|---|---|
int |
getIdentity(Object o)Look up an identity for an object. |
int |
registerReference(Object o)Register an object. |
| Field Detail |
|---|
protected IdentityHashMap m_mapIdentities
| Constructor Detail |
|---|
public PofBufferWriter.ReferenceLibrary()
| Method Detail |
|---|
public int getIdentity(Object o)
o - the objectpublic int registerReference(Object o)
o - the objectIllegalStateException - if the object is already registered
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||