@Test public void testAdd() { chronicle.add(getTestItem(0)); Assert.assertEquals(1, chronicle.getNumEvents(0, System.currentTimeMillis())); Assert.assertEquals(1, getChronicle().getNumEvents(0, System.currentTimeMillis())); }
@Override public void add(ChronologicalRecord item) { load(); records.add(item); save(); }
S3Chronicle extends Chronicle { @Override public void add(ChronologicalRecord item) { load(); records.add(item); save(); } }
S3Chronicle extends Chronicle { @Override public void add(ChronologicalRecord item) { load(); records.add(item); save(); } S3Chronicle(AmazonS3Client client, String bucket, String key);  S3Chronicle(AmazonS3Client client, String bucket, String key, boolean gzip); }
S3Chronicle extends Chronicle { @Override public void add(ChronologicalRecord item) { load(); records.add(item); save(); } S3Chronicle(AmazonS3Client client, String bucket, String key);  S3Chronicle(AmazonS3Client client, String bucket, String key, boolean gzip); @Override void add(ChronologicalRecord item); @Override void add(Iterator<ChronologicalRecord> items, int pageSize); @Override Iterator<ChronologicalRecord> getRange(long t1, long t2, int pageSize); @Override long getNumEvents(long t1, long t2); @Override void delete(); @Override void deleteRange(long t1, long t2); }
S3Chronicle extends Chronicle { @Override public void add(ChronologicalRecord item) { load(); records.add(item); save(); } S3Chronicle(AmazonS3Client client, String bucket, String key);  S3Chronicle(AmazonS3Client client, String bucket, String key, boolean gzip); @Override void add(ChronologicalRecord item); @Override void add(Iterator<ChronologicalRecord> items, int pageSize); @Override Iterator<ChronologicalRecord> getRange(long t1, long t2, int pageSize); @Override long getNumEvents(long t1, long t2); @Override void delete(); @Override void deleteRange(long t1, long t2);  }