com.bigdata.journal
Class TimestampServiceUtil
java.lang.Object
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.log4j.Logger log
TimestampServiceUtil
public TimestampServiceUtil()
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.