com.bigdata.journal
Class TimestampServiceUtil

java.lang.Object
  extended by com.bigdata.journal.TimestampServiceUtil

public class TimestampServiceUtil
extends Object

Robust request for a timestamp from an ITimestampService.

Version:
$Id: TimestampServiceUtil.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Field Summary
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
TimestampServiceUtil()
           
 
Method Summary
static long nextTimestamp(ITimestampService service)
          Utility method retries several times if there is a problem before throwing a RuntimeException.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
Constructor Detail

TimestampServiceUtil

public TimestampServiceUtil()
Method Detail

nextTimestamp

public static long nextTimestamp(ITimestampService service)
Utility method retries several times if there is a problem before throwing a RuntimeException.

Parameters:
service - The timestamp service.
Returns:
The timestamp.


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.