public class MarshalledValueInterceptor extends CommandInterceptor
MarshalledValue
s. Known "excluded" types are not wrapped/unwrapped, which at this time
include String
, Java primitives and their Object wrappers, as well as arrays of excluded types.
The MarshalledValue
wrapper handles lazy deserialization from byte array
representations.MarshalledValue
cacheConfiguration
Constructor and Description |
---|
MarshalledValueInterceptor() |
getLockAcquisitionTimeout, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNext
visitApplyDeltaCommand, visitClearCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitInvalidateCommand, visitInvalidateL1Command, visitPrepareCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand
protected Log getLog()
getLog
in class CommandInterceptor
protected void injectMarshaller(StreamingMarshaller marshaller, InternalEntryFactory entryFactory)
protected void start()
public Object visitLockControlCommand(TxInvocationContext ctx, LockControlCommand command) throws Throwable
visitLockControlCommand
in interface Visitor
visitLockControlCommand
in class AbstractVisitor
Throwable
public Object visitPutMapCommand(InvocationContext ctx, PutMapCommand command) throws Throwable
visitPutMapCommand
in interface Visitor
visitPutMapCommand
in class AbstractVisitor
Throwable
public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
visitPutKeyValueCommand
in interface Visitor
visitPutKeyValueCommand
in class AbstractVisitor
Throwable
public Object visitRemoveCommand(InvocationContext ctx, RemoveCommand command) throws Throwable
visitRemoveCommand
in interface Visitor
visitRemoveCommand
in class AbstractVisitor
Throwable
public Object visitEvictCommand(InvocationContext ctx, EvictCommand command) throws Throwable
visitEvictCommand
in interface Visitor
visitEvictCommand
in class AbstractVisitor
Throwable
public Object visitGetKeyValueCommand(InvocationContext ctx, GetKeyValueCommand command) throws Throwable
visitGetKeyValueCommand
in interface Visitor
visitGetKeyValueCommand
in class AbstractVisitor
Throwable
public Object visitKeySetCommand(InvocationContext ctx, KeySetCommand command) throws Throwable
visitKeySetCommand
in interface Visitor
visitKeySetCommand
in class AbstractVisitor
Throwable
public Object visitValuesCommand(InvocationContext ctx, ValuesCommand command) throws Throwable
visitValuesCommand
in interface Visitor
visitValuesCommand
in class AbstractVisitor
Throwable
public Object visitEntrySetCommand(InvocationContext ctx, EntrySetCommand command) throws Throwable
visitEntrySetCommand
in interface Visitor
visitEntrySetCommand
in class AbstractVisitor
Throwable
public Object visitReplaceCommand(InvocationContext ctx, ReplaceCommand command) throws Throwable
visitReplaceCommand
in interface Visitor
visitReplaceCommand
in class AbstractVisitor
Throwable
protected Object processRetVal(Object retVal, InvocationContext ctx)
protected Map<Object,Object> wrapMap(Map<Object,Object> m, Set<MarshalledValue> marshalledValues, InvocationContext ctx)
protected MarshalledValue createMarshalledValue(Object toWrap, InvocationContext ctx)
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.