jgroup.relacs.gm
Interface TimestampService
- All Superinterfaces:
- Layer, Layer.FinalizeLayer
- All Known Implementing Classes:
- TimestampLayer
public interface TimestampService
- extends Layer, Layer.FinalizeLayer
Service interface for the timestamp layer.
- Author:
- Rohnny Moland
Nested Class Summary |
static class |
TimestampService.Timestamp
The timestamp object is used to detect duplicate invocations
from several members of the same group, and yet distinguish
the invocations amongst multiple groups. |
getTimestamp
TimestampService.Timestamp getTimestamp(int id)
- Returns a
Timestamp
object, and updates
the timestamp counter.
getTimestampCounter
long getTimestampCounter()
- Returns the timestamp counter value, and updates the
timestamp counter. This is useful for applications that
do not need distinguish between groups and different views.
That is, if the application is such that the counter value
will only be used within the same group, and that view
changes are handled otherwise.
Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.