de.root1.simon
Class Monitor

java.lang.Object
  extended by de.root1.simon.Monitor

public class Monitor
extends java.lang.Object

A simple monitor class whose instance can have a sequence id.

Author:
achr

Constructor Summary
protected Monitor(int sequenceId)
          Creates a monitor object
 
Method Summary
protected  int getSequenceId()
          Returns the associated sequence id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Monitor

protected Monitor(int sequenceId)
Creates a monitor object

Parameters:
sequenceId - the associated sequence id
Method Detail

getSequenceId

protected int getSequenceId()
Returns the associated sequence id

Returns:
the id


Copyright © 2011. All Rights Reserved.