Package com.illumon.iris.db.v2.locations
Class CompositeTableDataServiceConsistencyMonitor
java.lang.Object
com.illumon.iris.db.v2.locations.CompositeTableDataServiceConsistencyMonitor
public class CompositeTableDataServiceConsistencyMonitor extends Object
A consistency monitor for use in the CompositeTableDataService.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CompositeTableDataServiceConsistencyMonitor.ConsistentSupplier<T>
-
Constructor Summary
Constructors Constructor Description CompositeTableDataServiceConsistencyMonitor()
-
Method Summary
Modifier and Type Method Description static String
consistentDateNy()
The same thing ascurrentDateNy()
, but with a different name so you can import it more easily and be sure you are getting the right value.static String
currentDateNy()
Get the consistent value of currentDateNy() as defined byDBTimeUtils.currentDateNy()
.
-
Constructor Details
-
CompositeTableDataServiceConsistencyMonitor
public CompositeTableDataServiceConsistencyMonitor()
-
-
Method Details
-
currentDateNy
Get the consistent value of currentDateNy() as defined byDBTimeUtils.currentDateNy()
.- Returns:
- the current date in the New York time zone.
-
consistentDateNy
The same thing ascurrentDateNy()
, but with a different name so you can import it more easily and be sure you are getting the right value.
-