org.glite.rgma
Class ProducerTableEntry

java.lang.Object
  extended byorg.glite.rgma.ProducerTableEntry

public class ProducerTableEntry
extends java.lang.Object

Contains a producer table entry from the registry.


Constructor Summary
ProducerTableEntry(ResourceEndpoint endpoint, java.lang.String tableName, ProducerType producerType, int hrpSec, java.lang.String qosAttrib)
          Creates a new ProducerTableEntry object.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this object with the specified object.
 ResourceEndpoint getEndpoint()
          Gets the producer's endpoint.
 ProducerType getProducerType()
          Returns the type of the producer.
 java.lang.String getQosAttrib()
          Returns the producer's Quality of Service attribute.
 int getRetentionPeriod()
          Returns the producer's history retention period.
 java.lang.String getTableName()
          Returns the tableName.
 int hashCode()
          Returns a hash code value for the object.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProducerTableEntry

public ProducerTableEntry(ResourceEndpoint endpoint,
                          java.lang.String tableName,
                          ProducerType producerType,
                          int hrpSec,
                          java.lang.String qosAttrib)
Creates a new ProducerTableEntry object.

Parameters:
endpoint - Producer endpoint.
tableName - Name of table.
producerType - Type of producer.
hrpSec - History retention period (in seconds).
qosAttrib - Quality of service attribute.
Method Detail

getEndpoint

public ResourceEndpoint getEndpoint()
Gets the producer's endpoint.

Returns:
An Endpoint object.

toString

public java.lang.String toString()
Returns a string representation of the object.

Returns:
A string representation of the object.
See Also:
Object.toString()

equals

public boolean equals(java.lang.Object obj)
Compares this object with the specified object.

Parameters:
obj - Object to compare.
Returns:
true if this object and the specified object are equal.
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Returns a hash code value for the object.

Returns:
a hash code value for this object.
See Also:
Object.hashCode()

getQosAttrib

public java.lang.String getQosAttrib()
Returns the producer's Quality of Service attribute.

Returns:
Quality of service attribute.

getProducerType

public ProducerType getProducerType()
Returns the type of the producer.

Returns:
Producer type.

getRetentionPeriod

public int getRetentionPeriod()
Returns the producer's history retention period.

Returns:
History retention period in seconds.

getTableName

public java.lang.String getTableName()
Returns the tableName.

Returns:
The name of the table.