org.objectweb.perseus.concurrency.lib
Class TimeStamp

java.lang.Object
  extended byorg.objectweb.perseus.concurrency.lib.Semaphore
      extended byorg.objectweb.perseus.concurrency.lib.TimeStamp

public class TimeStamp
extends Semaphore

Author:
S.Chassande-Barrioz

Field Summary
 java.lang.Object oid
           
 
Fields inherited from class org.objectweb.perseus.concurrency.lib.Semaphore
on
 
Constructor Summary
TimeStamp(java.lang.Object oid)
           
 
Method Summary
 boolean close(java.lang.Object ctxt)
          Removes the given context from the 'ctxtTimeStamp' map.
 void finalize(java.lang.Object ctxt)
           
 boolean isDirty(java.lang.Object ctx)
           
 void readIntention(java.lang.Object ctxt)
           
 void reserve()
           
 boolean validate(java.lang.Object ctxt)
           
 void writeIntention(java.lang.Object ctxt)
           
 
Methods inherited from class org.objectweb.perseus.concurrency.lib.Semaphore
getUser, init, isActive, P, V
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

oid

public java.lang.Object oid
Constructor Detail

TimeStamp

public TimeStamp(java.lang.Object oid)
Method Detail

readIntention

public void readIntention(java.lang.Object ctxt)

writeIntention

public void writeIntention(java.lang.Object ctxt)

validate

public boolean validate(java.lang.Object ctxt)

finalize

public void finalize(java.lang.Object ctxt)

close

public boolean close(java.lang.Object ctxt)
Removes the given context from the 'ctxtTimeStamp' map.

Parameters:
ctxt - a context
Returns:
true if the 'ctxtTimeStamp' map is empty, after the context has been removed from the map. In such a case, this object can be removed from the 'timeStamps' map of the enclosing class.

reserve

public void reserve()

isDirty

public boolean isDirty(java.lang.Object ctx)


Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.