de.grogra.persistence
Class BindingsCache
java.lang.Object
de.grogra.persistence.BindingsCache
public final class BindingsCache
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SO_PROVIDER
public static final int SO_PROVIDER
- See Also:
- Constant Field Values
STRING
public static final int STRING
- See Also:
- Constant Field Values
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
BindingsCache
public BindingsCache(PersistenceBindings bindings,
short cacheId)
getBindings
public PersistenceBindings getBindings()
getCacheId
public short getCacheId()
getHandle
public int getHandle(ManageableType type)
getHandle
public int getHandle(SharedObjectProvider provider)
getSOProvider
public SharedObjectProvider getSOProvider(int handle)
getString
public java.lang.String getString(int handle)
getType
public ManageableType getType(int handle)
readSOProvider
public SharedObjectProvider readSOProvider(PersistenceInputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
readType
public ManageableType readType(PersistenceInputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(ManageableType type,
PersistenceOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(SharedObjectProvider provider,
PersistenceOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException