public abstract class ObjectReader extends Object implements Closeable
| Constructor and Description |
|---|
ObjectReader() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBuffer()
Gets the underlying buffer.
|
int |
getLength()
Gets the length of the last read object.
|
abstract void |
read(com.scaleoutsoftware.soss.client.da.StateServerKey key)
Gets an object from the ScaleOut StateServer store based on the object key.
|
public abstract void read(com.scaleoutsoftware.soss.client.da.StateServerKey key)
throws com.scaleoutsoftware.soss.client.da.StateServerException
getBuffer().key - object keycom.scaleoutsoftware.soss.client.da.StateServerException - If there was a communication error between the JVM and ScaleOut StateServer (or if ScaleOut StateServer experienced an internal error)public byte[] getBuffer()
public int getLength()
Copyright (C) 2007-2014 ScaleOut Software, Inc.