com.continuent.tungsten.manager.resource.physical
Class Process

java.lang.Object
  extended by com.continuent.tungsten.common.cluster.resource.Resource
      extended by com.continuent.tungsten.manager.resource.physical.Process
All Implemented Interfaces:
java.io.Serializable

public class Process
extends Resource

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.continuent.tungsten.common.cluster.resource.Resource
childType, compositeMember, description, isContainer, isExecutable, name, type
 
Constructor Summary
Process(java.lang.String name)
           
 
Method Summary
 java.lang.String getClusterName()
          Returns the clusterName value.
 javax.management.remote.JMXConnector getConnection()
          Returns the connection value.
 long getEpoch()
          Returns the epoch value.
 java.lang.String getMember()
           
 int getPort()
           
 javax.management.MBeanServerConnection getServer()
          Returns the server value.
 java.lang.String getService()
           
 void setClusterName(java.lang.String clusterName)
          Sets the clusterName value.
 void setConnection(javax.management.remote.JMXConnector connection)
           
 void setEpoch(long epoch)
          Sets the epoch value.
 void setMember(java.lang.String member)
           
 void setPort(int port)
           
 void setServer(javax.management.MBeanServerConnection server)
          Sets the server value.
 void setService(java.lang.String service)
           
 java.lang.String toString()
           
 
Methods inherited from class com.continuent.tungsten.common.cluster.resource.Resource
copyTo, describe, getChildType, getCompositeMember, getKey, getName, getType, isContainer, isExecutable, setChildType, setCompositeMember, setContainer, setExecutable, setName, setType, toJSON, toProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Process

public Process(java.lang.String name)
        throws ResourceException
Throws:
ResourceException
Method Detail

getMember

public java.lang.String getMember()

getPort

public int getPort()
Returns:
the port

setPort

public void setPort(int port)
Parameters:
port - the port to set

getService

public java.lang.String getService()
Returns:
the service

setService

public void setService(java.lang.String service)
Parameters:
service - the service to set

setMember

public void setMember(java.lang.String member)
Parameters:
member - the member name to set

setConnection

public void setConnection(javax.management.remote.JMXConnector connection)

getServer

public javax.management.MBeanServerConnection getServer()
Returns the server value.

Returns:
Returns the server.

setServer

public void setServer(javax.management.MBeanServerConnection server)
Sets the server value.

Parameters:
server - The server to set.

getConnection

public javax.management.remote.JMXConnector getConnection()
Returns the connection value.

Returns:
Returns the connection.

getEpoch

public long getEpoch()
Returns the epoch value.

Returns:
Returns the epoch.

setEpoch

public void setEpoch(long epoch)
Sets the epoch value.

Parameters:
epoch - The epoch to set.

toString

public java.lang.String toString()
Overrides:
toString in class Resource

getClusterName

public java.lang.String getClusterName()
Returns the clusterName value.

Returns:
Returns the clusterName.

setClusterName

public void setClusterName(java.lang.String clusterName)
Sets the clusterName value.

Parameters:
clusterName - The clusterName to set.