Class JBossMarshaller
- java.lang.Object
-
- org.infinispan.commons.marshall.AbstractMarshaller
-
- org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller
-
- org.infinispan.jboss.marshalling.core.JBossMarshaller
-
- All Implemented Interfaces:
org.infinispan.commons.marshall.Marshaller,org.infinispan.commons.marshall.StreamingMarshaller
- Direct Known Subclasses:
JBossUserMarshaller
@Deprecated public class JBossMarshaller extends AbstractJBossMarshaller implements org.infinispan.commons.marshall.StreamingMarshaller
Deprecated.since 11.0. To be removed in 14.0 ISPN-11947.A JBoss Marshalling based marshaller that is oriented at internal, embedded, Infinispan usage. It uses of a custom object table for Infinispan based Externalizer instances that are either internal or user defined. The reason why this is implemented specially in Infinispan rather than resorting to Java serialization or even the more efficient JBoss serialization is that a lot of efficiency can be gained when a majority of the serialization that occurs has to do with a small set of known types such asGlobalTransactionorReplicableCommand, and class type information can be replaced with simple magic numbers. Unknown types (typically user data) falls back to Java serialization.- Since:
- 4.0
- Author:
- Galder ZamarreƱo, Sanne Grinovero
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller
AbstractJBossMarshaller.DebuggingExceptionListener
-
-
Field Summary
-
Fields inherited from class org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller
baseCfg, DEF_CLASS_COUNT, DEF_INSTANCE_COUNT, factory, log
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanisMarshallableCandidate(Object o)Deprecated.voidstart()Deprecated.voidstop()Deprecated.-
Methods inherited from class org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller
finishObjectInput, finishObjectOutput, isMarshallable, mediaType, objectFromByteBuffer, objectFromObjectStream, objectToBuffer, objectToObjectStream, startObjectInput, startObjectOutput
-
Methods inherited from class org.infinispan.commons.marshall.AbstractMarshaller
getBufferSizePredictor, objectFromByteBuffer, objectFromInputStream, objectToBuffer, objectToByteBuffer, objectToByteBuffer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
start
public void start()
Deprecated.- Specified by:
startin interfaceorg.infinispan.commons.marshall.Marshaller- Specified by:
startin interfaceorg.infinispan.commons.marshall.StreamingMarshaller- Overrides:
startin classAbstractJBossMarshaller
-
stop
public void stop()
Deprecated.- Specified by:
stopin interfaceorg.infinispan.commons.marshall.Marshaller- Specified by:
stopin interfaceorg.infinispan.commons.marshall.StreamingMarshaller- Overrides:
stopin classAbstractJBossMarshaller
-
isMarshallableCandidate
public boolean isMarshallableCandidate(Object o)
Deprecated.- Overrides:
isMarshallableCandidatein classAbstractJBossMarshaller
-
-