org.jboss.cache.marshall
Class CacheMarshaller220

java.lang.Object
  extended by org.jboss.cache.marshall.AbstractMarshaller
      extended by org.jboss.cache.marshall.CacheMarshaller200
          extended by org.jboss.cache.marshall.CacheMarshaller210
              extended by org.jboss.cache.marshall.CacheMarshaller220
All Implemented Interfaces:
Marshaller, org.jgroups.blocks.RpcDispatcher.Marshaller

public class CacheMarshaller220
extends CacheMarshaller210

An evolution of CacheMarshaller210, to allow for StringFqns.

Since:
2.2.0
Author:
Manik Surtani

Field Summary
 
Fields inherited from class org.jboss.cache.marshall.CacheMarshaller200
commandsFactory, IRE, MAGICNUMBER_ARRAY_LIST, MAGICNUMBER_BOOLEAN, MAGICNUMBER_DEFAULT_DATA_VERSION, MAGICNUMBER_FQN, MAGICNUMBER_GRAVITATERESULT, MAGICNUMBER_GTX, MAGICNUMBER_HASH_MAP, MAGICNUMBER_HASH_SET, MAGICNUMBER_INTEGER, MAGICNUMBER_IPADDRESS, MAGICNUMBER_LINKED_LIST, MAGICNUMBER_LONG, MAGICNUMBER_MAPCOPY, MAGICNUMBER_MARSHALLEDVALUE, MAGICNUMBER_METHODCALL, MAGICNUMBER_NODEDATA, MAGICNUMBER_NODEDATA_EXCEPTION_MARKER, MAGICNUMBER_NODEDATA_MARKER, MAGICNUMBER_NULL, MAGICNUMBER_REF, MAGICNUMBER_SERIALIZABLE, MAGICNUMBER_SHORT, MAGICNUMBER_STRING, MAGICNUMBER_TREE_MAP, MAGICNUMBER_TREE_SET
 
Fields inherited from class org.jboss.cache.marshall.AbstractMarshaller
configuration, defaultClassLoader, defaultInactive, log, regionManager, trace, useRefs, useRegionBasedMarshalling
 
Constructor Summary
CacheMarshaller220()
           
 
Method Summary
protected  void marshallFqn(Fqn fqn, ObjectOutputStream out, Map<Object,Integer> refMap)
           
protected  Fqn unmarshallFqn(ObjectInputStream in, UnmarshalledReferences refMap)
           
 
Methods inherited from class org.jboss.cache.marshall.CacheMarshaller210
readReference, readUnsignedInt, readUnsignedLong, writeReference, writeUnsignedInt, writeUnsignedLong
 
Methods inherited from class org.jboss.cache.marshall.CacheMarshaller200
injectCommandsFactory, marshallDefaultDataVersion, marshallObject, marshallString, objectFromObjectStream, objectFromObjectStreamRegionBased, objectToObjectStream, objectToObjectStream, regionalizedMethodCallFromObjectStream, unmarshallDefaultDataVersion, unmarshallObject, unmarshallObject, unmarshallString
 
Methods inherited from class org.jboss.cache.marshall.AbstractMarshaller
extractFqn, getRegion, init, initLogger, objectFromByteBuffer, objectFromStream, objectToByteBuffer, regionalizedMethodCallFromByteBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheMarshaller220

public CacheMarshaller220()
Method Detail

marshallFqn

protected void marshallFqn(Fqn fqn,
                           ObjectOutputStream out,
                           Map<Object,Integer> refMap)
                    throws Exception
Overrides:
marshallFqn in class CacheMarshaller200
Throws:
Exception

unmarshallFqn

protected Fqn unmarshallFqn(ObjectInputStream in,
                            UnmarshalledReferences refMap)
                     throws Exception
Overrides:
unmarshallFqn in class CacheMarshaller200
Throws:
Exception


Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.