Class PacketSerializer.InputStreamsResource
java.lang.Object
com.j_spaces.kernel.pool.Resource
com.gigaspaces.internal.server.space.redolog.storage.bytebuffer.PacketSerializer.InputStreamsResource
- All Implemented Interfaces:
IResource
- Enclosing class:
- PacketSerializer<T>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.j_spaces.kernel.pool.Resource
acquire, isAcquired, isFromPool, release, setAcquired, setFromPool
-
Constructor Details
-
InputStreamsResource
public InputStreamsResource()
-
-
Method Details
-
readPacket
- Throws:
IOExceptionClassNotFoundException
-
markCorrupted
public void markCorrupted() -
setBuffer
public void setBuffer(byte[] serializedPacket) -
clear
public void clear()Description copied from interface:IResourceCleans the resource of its contents so it can be returned to the pool.You may use the
IResource.isFromPool()indication to decide of a special action before returning a resource to the pool, or discard any actions on resources not returning to the pool.
-