com.oracle.coherence.patterns.command.internal
Class SubmissionOutcome.Accepted

java.lang.Object
  extended by com.oracle.coherence.patterns.command.internal.SubmissionOutcome
      extended by com.oracle.coherence.patterns.command.internal.SubmissionOutcome.Accepted
All Implemented Interfaces:
Identifier, com.tangosol.io.ExternalizableLite, com.tangosol.io.pof.PortableObject, Serializable
Enclosing class:
SubmissionOutcome

public static class SubmissionOutcome.Accepted
extends SubmissionOutcome
implements Identifier

An SubmissionOutcome.Accepted SubmissionOutcome represents that a Command has been successfully submitted to a Context and is awaiting execution by a CommandExecutor.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.oracle.coherence.patterns.command.internal.SubmissionOutcome
SubmissionOutcome.Accepted, SubmissionOutcome.UnknownContext
 
Constructor Summary
SubmissionOutcome.Accepted()
          Required for ExternalizableLite and PortableObject.
SubmissionOutcome.Accepted(CommandExecutionRequest.Key commandExecutionRequestKey, ContextConfiguration.ManagementStrategy managementStrategy)
          Standard Constructor.
 
Method Summary
 CommandExecutionRequest.Key getCommandExecutionRequestKey()
          Returns the CommandExecutionRequest.Key that was created for the submitted Command.
 ContextConfiguration.ManagementStrategy getManagementStrategy()
          Returns the ContextConfiguration.ManagementStrategy that was used to store the Command.
 void readExternal(DataInput in)
          
 void readExternal(com.tangosol.io.pof.PofReader reader)
          
 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, toString, wait, wait, wait
 

Constructor Detail

SubmissionOutcome.Accepted

public SubmissionOutcome.Accepted()
Required for ExternalizableLite and PortableObject.


SubmissionOutcome.Accepted

public SubmissionOutcome.Accepted(CommandExecutionRequest.Key commandExecutionRequestKey,
                                  ContextConfiguration.ManagementStrategy managementStrategy)
Standard Constructor.

Parameters:
commandExecutionRequestKey -
Method Detail

getCommandExecutionRequestKey

public CommandExecutionRequest.Key getCommandExecutionRequestKey()
Returns the CommandExecutionRequest.Key that was created for the submitted Command.


getManagementStrategy

public ContextConfiguration.ManagementStrategy getManagementStrategy()
Returns the ContextConfiguration.ManagementStrategy that was used to store the Command.


readExternal

public void readExternal(DataInput in)
                  throws IOException

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

writeExternal

public void writeExternal(DataOutput out)
                   throws IOException

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

readExternal

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

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

writeExternal

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

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


Copyright © 2016. All rights reserved.