@Test public void getMillisForTimestampReturnsZeroIfQueryingTimestampBeforeFirstPunch() { assertThat(puncherStore.getMillisForTimestamp(Long.MIN_VALUE)).isEqualTo(0L); assertThat(puncherStore.getMillisForTimestamp(TIMESTAMP_1 - 1)).isEqualTo(0L); }
@Override public long getMillisForTimestamp(long timestamp) { return getMillisForTimestamp(keyValueService, timestamp); }
KeyValueServicePuncherStore implements PuncherStore { @Override public long getMillisForTimestamp(long timestamp) { return getMillisForTimestamp(keyValueService, timestamp); } }
KeyValueServicePuncherStore implements PuncherStore { @Override public long getMillisForTimestamp(long timestamp) { return getMillisForTimestamp(keyValueService, timestamp); } private  KeyValueServicePuncherStore(KeyValueService keyValueService); }
KeyValueServicePuncherStore implements PuncherStore { @Override public long getMillisForTimestamp(long timestamp) { return getMillisForTimestamp(keyValueService, timestamp); } private  KeyValueServicePuncherStore(KeyValueService keyValueService); static PuncherStore create(KeyValueService keyValueService); static PuncherStore create(KeyValueService keyValueService, boolean initializeAsync); @Override boolean isInitialized(); @Override void put(long timestamp, long timeMillis); @Override Long get(Long timeMillis); static Long get(KeyValueService kvs, Long timeMillis); @Override long getMillisForTimestamp(long timestamp); static long getMillisForTimestamp(KeyValueService kvs, long timestamp); static long getMillisForTimestampIfNotPunchedBefore(KeyValueService kvs, long timestamp, long lowerBound); }
KeyValueServicePuncherStore implements PuncherStore { @Override public long getMillisForTimestamp(long timestamp) { return getMillisForTimestamp(keyValueService, timestamp); } private  KeyValueServicePuncherStore(KeyValueService keyValueService); static PuncherStore create(KeyValueService keyValueService); static PuncherStore create(KeyValueService keyValueService, boolean initializeAsync); @Override boolean isInitialized(); @Override void put(long timestamp, long timeMillis); @Override Long get(Long timeMillis); static Long get(KeyValueService kvs, Long timeMillis); @Override long getMillisForTimestamp(long timestamp); static long getMillisForTimestamp(KeyValueService kvs, long timestamp); static long getMillisForTimestampIfNotPunchedBefore(KeyValueService kvs, long timestamp, long lowerBound);  }