|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cache.marshall.AbstractMarshaller
org.jboss.cache.marshall.CacheMarshaller200
org.jboss.cache.marshall.CacheMarshaller210
public class CacheMarshaller210
An evolution of CacheMarshaller200, created to fix JBCACHE-1211.
| Field Summary |
|---|
| Fields inherited from class org.jboss.cache.marshall.AbstractMarshaller |
|---|
configuration, defaultClassLoader, defaultInactive, log, regionManager, trace, useRefs, useRegionBasedMarshalling |
| Constructor Summary | |
|---|---|
CacheMarshaller210()
|
|
| Method Summary | |
|---|---|
protected int |
readReference(ObjectInputStream in)
This version of readReference is written to solve JBCACHE-1211, where references are encoded as ints rather than shorts. |
protected int |
readUnsignedInt(ObjectInputStream in)
Reads an int stored in variable-length format. |
protected long |
readUnsignedLong(ObjectInputStream in)
Reads an int stored in variable-length format. |
protected void |
writeReference(ObjectOutputStream out,
int reference)
This version of writeReference is written to solve JBCACHE-1211, where references are encoded as ints rather than shorts. |
protected void |
writeUnsignedInt(ObjectOutputStream out,
int i)
Writes an int in a variable-length format. |
protected void |
writeUnsignedLong(ObjectOutputStream out,
long i)
Writes an int in a variable-length format. |
| Methods inherited from class org.jboss.cache.marshall.CacheMarshaller200 |
|---|
isReplicateAllMethod, isReplicateMethod, marshallDefaultDataVersion, objectFromObjectStream, objectFromObjectStreamRegionBased, objectToObjectStream, objectToObjectStream, regionalizedMethodCallFromObjectStream, unmarshallDefaultDataVersion |
| Methods inherited from class org.jboss.cache.marshall.AbstractMarshaller |
|---|
extractFqn, extractFqnFromListOfMethodCall, extractFqnFromMethodCall, getRegion, init, initLogger, objectFromByteBuffer, objectFromStream, objectToByteBuffer, objectToByteBuffer, regionalizedMethodCallFromByteBuffer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheMarshaller210()
| Method Detail |
|---|
protected void writeReference(ObjectOutputStream out,
int reference)
throws IOException
writeReference in class CacheMarshaller200out - stream to write toreference - reference to write
IOException - propagated from OOS
protected int readReference(ObjectInputStream in)
throws IOException
readReference in class CacheMarshaller200in - stream to read from
IOException - propagated from OUS
protected int readUnsignedInt(ObjectInputStream in)
throws IOException
readUnsignedInt in class CacheMarshaller200IOException
protected void writeUnsignedInt(ObjectOutputStream out,
int i)
throws IOException
writeUnsignedInt in class CacheMarshaller200i - int to write
IOException
protected long readUnsignedLong(ObjectInputStream in)
throws IOException
readUnsignedLong in class CacheMarshaller200IOException
protected void writeUnsignedLong(ObjectOutputStream out,
long i)
throws IOException
writeUnsignedLong in class CacheMarshaller200i - int to write
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||