com.tc.object.dna.api
Class LogicalAction

java.lang.Object
  extended by com.tc.object.dna.api.LogicalAction

public class LogicalAction
extends java.lang.Object

A logical action representing a method invocation to be replayed elsewhere. The method signatures can only come from a limited set, which are defined in com.tc.object.SerializationUtil.


Constructor Summary
LogicalAction(int method, java.lang.Object[] parameters)
          Construct a logical action with the method identifier and parameter values
 
Method Summary
 int getMethod()
          Get method identifier
 java.lang.Object[] getParameters()
          Get parameter values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogicalAction

public LogicalAction(int method,
                     java.lang.Object[] parameters)
Construct a logical action with the method identifier and parameter values

Parameters:
method - Method identifier, as defined in com.tc.object.SerializationUtil
parameters - Parameters to the method call, may be empty but not null
Method Detail

getMethod

public int getMethod()
Get method identifier

Returns:
Method identifier, as defined in com.tc.object.SerializationUtil

getParameters

public java.lang.Object[] getParameters()
Get parameter values

Returns:
The parameters, never null


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.