org.ow2.jasmine.monitoring.mbeancmd.audit
Class PollID

java.lang.Object
  extended by org.ow2.jasmine.monitoring.mbeancmd.audit.PollID

public class PollID
extends java.lang.Object

Author:
waeselyf Identifier of polls generated by a Collector

Constructor Summary
PollID(java.lang.String name)
          Constructor
 
Method Summary
 java.lang.String getName()
           
 long getTimestamp()
           
 int hashCode()
           
 void setStamp()
          Initialise the timestamp
 java.lang.String toString()
          String representation of a poll identifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PollID

public PollID(java.lang.String name)
Constructor

Parameters:
name -
Method Detail

toString

public java.lang.String toString()
String representation of a poll identifier

Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTimestamp

public long getTimestamp()
Returns:
the timestamp. A negative value means the timestamp is not set.

setStamp

public void setStamp()
Initialise the timestamp


getName

public java.lang.String getName()
Returns:
the name


Copyright © 2010 OW2 Consortium. All Rights Reserved.