public class MarshalledValueInterceptor extends CommandInterceptor
MarshalledValues.
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.MarshalledValueconfiguration, log, trace| Constructor and Description |
|---|
MarshalledValueInterceptor() |
getNext, handleDefault, hasNext, invokeNextInterceptor, setNextvisitCollection, visitCommitCommand, visitCreateNodeCommand, visitEvictFqnCommand, visitExistsNodeCommand, visitGravitateDataCommand, visitInvalidateCommand, visitMoveCommand, visitOptimisticPrepareCommand, visitPrepareCommand, visitRemoveNodeCommand, visitRollbackCommandpublic Object visitPutDataMapCommand(InvocationContext ctx, PutDataMapCommand command) throws Throwable
VisitorvisitPutDataMapCommand in interface VisitorvisitPutDataMapCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitGetDataMapCommand(InvocationContext ctx, GetDataMapCommand command) throws Throwable
VisitorvisitGetDataMapCommand in interface VisitorvisitGetDataMapCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitPutForExternalReadCommand(InvocationContext ctx, PutForExternalReadCommand command) throws Throwable
VisitorvisitPutForExternalReadCommand in interface VisitorvisitPutForExternalReadCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
VisitorvisitPutKeyValueCommand in interface VisitorvisitPutKeyValueCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitGetNodeCommand(InvocationContext ctx, GetNodeCommand command) throws Throwable
VisitorvisitGetNodeCommand in interface VisitorvisitGetNodeCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitClearDataCommand(InvocationContext ctx, ClearDataCommand command) throws Throwable
VisitorvisitClearDataCommand in interface VisitorvisitClearDataCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitRemoveKeyCommand(InvocationContext ctx, RemoveKeyCommand command) throws Throwable
VisitorvisitRemoveKeyCommand in interface VisitorvisitRemoveKeyCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitGetChildrenNamesCommand(InvocationContext ctx, GetChildrenNamesCommand command) throws Throwable
VisitorvisitGetChildrenNamesCommand in interface VisitorvisitGetChildrenNamesCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitGetKeysCommand(InvocationContext ctx, GetKeysCommand command) throws Throwable
VisitorvisitGetKeysCommand in interface VisitorvisitGetKeysCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitGetKeyValueCommand(InvocationContext ctx, GetKeyValueCommand command) throws Throwable
VisitorvisitGetKeyValueCommand in interface VisitorvisitGetKeyValueCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.protected Map wrapMap(Map<Object,Object> m, Set<MarshalledValue> marshalledValues, InvocationContext ctx) throws NotSerializableException
NotSerializableExceptionprotected MarshalledValue createAndAddMarshalledValue(Object toWrap, Set<MarshalledValue> marshalledValues, InvocationContext ctx) throws NotSerializableException
NotSerializableExceptionCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.