@Override public long resetStateAndGetFreshTimestamp() { long freshTimestamp = currentDelegate.get().resetStateAndGetFreshTimestamp(); currentDelegate.set(SimpleCoordinationResource.create(txManager)); return freshTimestamp; } }
@Before public void setUp() { lowerBoundOnTimestamps = coordinationResource.resetStateAndGetFreshTimestamp(); }