use of com.palantir.common.time.SystemClock in project atlasdb by palantir.
the class AsyncPuncherTest method setup.
@Before
public void setup() {
PuncherStore puncherStore = InMemoryPuncherStore.create();
Clock clock = new SystemClock();
Puncher puncher = SimplePuncher.create(puncherStore, clock, Suppliers.ofInstance(TRANSACTION_TIMEOUT));
timestampService = new InMemoryTimestampService();
asyncPuncher = AsyncPuncher.create(puncher, ASYNC_PUNCHER_INTERVAL);
}
Aggregations