org.infinispan.client.hotrod
Interface HotRodMarshaller

All Known Implementing Classes:
InternalCacheEntryMarshaller, SerializationMarshaller

@ThreadSafe
public interface HotRodMarshaller

Used for un/marshalling objects sent between hotrod client and server (hotrod is a binary protocol). A single instance of this class is shared by all threads, so this class needs to be thread safe.

Since:
4.1
Author:
Mircea.Markus@jboss.com

Method Summary
 byte[] marshallObject(Object toMarshall)
           
 Object readObject(byte[] bytes)
           
 

Method Detail

marshallObject

byte[] marshallObject(Object toMarshall)

readObject

Object readObject(byte[] bytes)

Google Analytics

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