public interface ITimestampService extends IService
long nextTimestamp() throws java.io.IOException
Note: This method MUST return strictly increasing values, even when it is invoked by concurrent threads. While other implementations are possible and may be more efficient, one way to insure thread safety is to synchronize on some object such that the implementaiton exhibits a FIFO behavior.
java.io.IOException- if there is an RMI problem.
Copyright © 2006-2014 SYSTAP, LLC. All Rights Reserved.