Class CompositeTableDataServiceConsistencyMonitor
java.lang.Object
com.illumon.iris.db.v2.tabledataservice.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>
-
Field Summary
Fields Modifier and Type Field Description static FunctionConsistencyMonitor
INSTANCE
The default instance used by the CompositeTableDataServices. -
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()
.
-
Field Details
-
INSTANCE
The default instance used by the CompositeTableDataServices.
-
-
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.
-