Basic HTML version of Foils prepared May 19 99

Foil 24 Token

From Overview of Java Shared Data Toolkit Tango Group Internal Technology Seminars -- Spring 99. by Lukasz Beca


Synchronization object that provides a unique distributed atomic operations
Can be used to implement various application-level synchronization mechanisms
Provide means to implement exclusive access
Token objects are created within given Session
Token can be used to:
  • add or remove a TokenListener
  • grab a Token (exclusively or non-exclusively)
  • list all the Clients that are holding (grabbing or inhibiting) this Token
  • release a Token
  • test a Token's current status
  • give a Token to another Client
  • request a Token from another Client



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed May 19 1999