com.oracle.coherence.patterns.command.internal
Class CommandExecutionRequest.Key

java.lang.Object
  extended by com.oracle.coherence.patterns.command.internal.CommandExecutionRequest.Key
All Implemented Interfaces:
Identifier, com.tangosol.io.ExternalizableLite, com.tangosol.io.pof.PortableObject, com.tangosol.net.cache.KeyAssociation, Serializable
Enclosing class:
CommandExecutionRequest

public static class CommandExecutionRequest.Key
extends Object
implements com.tangosol.io.ExternalizableLite, com.tangosol.io.pof.PortableObject, com.tangosol.net.cache.KeyAssociation, Identifier

A custom key implementation for the CommandExecutionRequest class to support KeyAssociation.

See Also:
Serialized Form

Constructor Summary
CommandExecutionRequest.Key()
          For ExternalizableLite.
CommandExecutionRequest.Key(Identifier contextIdentifier, Ticket ticket, ContextConfiguration.ManagementStrategy managementStrategy)
          Standard Constructor.
 
Method Summary
 Object getAssociatedKey()
          
 Identifier getContextIdentifier()
          Returns the Identifier for the CommandExecutionRequest.
 void readExternal(DataInput in)
          
 void readExternal(com.tangosol.io.pof.PofReader reader)
          
 String toString()
          
 void writeExternal(DataOutput out)
          
 void writeExternal(com.tangosol.io.pof.PofWriter writer)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandExecutionRequest.Key

public CommandExecutionRequest.Key()
For ExternalizableLite.


CommandExecutionRequest.Key

public CommandExecutionRequest.Key(Identifier contextIdentifier,
                                   Ticket ticket,
                                   ContextConfiguration.ManagementStrategy managementStrategy)
Standard Constructor.

Parameters:
contextIdentifier -
ticket -
managementStrategy -
Method Detail

getContextIdentifier

public Identifier getContextIdentifier()
Returns the Identifier for the CommandExecutionRequest.


getAssociatedKey

public Object getAssociatedKey()

Specified by:
getAssociatedKey in interface com.tangosol.net.cache.KeyAssociation

readExternal

public void readExternal(DataInput in)
                  throws IOException

Specified by:
readExternal in interface com.tangosol.io.ExternalizableLite
Throws:
IOException

writeExternal

public void writeExternal(DataOutput out)
                   throws IOException

Specified by:
writeExternal in interface com.tangosol.io.ExternalizableLite
Throws:
IOException

readExternal

public void readExternal(com.tangosol.io.pof.PofReader reader)
                  throws IOException

Specified by:
readExternal in interface com.tangosol.io.pof.PortableObject
Throws:
IOException

writeExternal

public void writeExternal(com.tangosol.io.pof.PofWriter writer)
                   throws IOException

Specified by:
writeExternal in interface com.tangosol.io.pof.PortableObject
Throws:
IOException

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2016. All rights reserved.