org.objectweb.perseus.concurrency.lib

Class TimeStamp


public class TimeStamp
extends Semaphore

Author:
S.Chassande-Barrioz

Field Summary

Fields inherited from class org.objectweb.perseus.concurrency.lib.Semaphore

on

Constructor Summary

TimeStamp()

Method Summary

boolean
close(Object ctxt)
Removes the given context from the 'ctxtTimeStamp' map.
void
finalize(Object ctxt)
boolean
isDirty(Object ctx)
void
readIntention(Object ctxt)
void
reserve()
boolean
validate(Object ctxt)
void
writeIntention(Object ctxt)

Methods inherited from class org.objectweb.perseus.concurrency.lib.Semaphore

P, V, getUser, init, isActive

Constructor Details

TimeStamp

public TimeStamp()

Method Details

close

public boolean close(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.


finalize

public void finalize(Object ctxt)


isDirty

public boolean isDirty(Object ctx)


readIntention

public void readIntention(Object ctxt)


reserve

public void reserve()


validate

public boolean validate(Object ctxt)


writeIntention

public void writeIntention(Object ctxt)


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