@Test (expected = BadCheckpointException.class) public void testDecreaseCapacity() throws Exception { Assert.assertTrue(checkpoint.delete()); EventQueueBackingStore backingStore = EventQueueBackingStoreFactory. get(checkpoint, 10, "test"); backingStore.close(); EventQueueBackingStoreFactory.get(checkpoint, 9, "test"); Assert.fail(); }
static EventQueueBackingStore get(File checkpointFile, int capacity, String name) throws Exception { return get(checkpointFile, capacity, name, true); }
EventQueueBackingStoreFactory { static EventQueueBackingStore get(File checkpointFile, int capacity, String name) throws Exception { return get(checkpointFile, capacity, name, true); } }
EventQueueBackingStoreFactory { static EventQueueBackingStore get(File checkpointFile, int capacity, String name) throws Exception { return get(checkpointFile, capacity, name, true); } private  EventQueueBackingStoreFactory(); }
EventQueueBackingStoreFactory { static EventQueueBackingStore get(File checkpointFile, int capacity, String name) throws Exception { return get(checkpointFile, capacity, name, true); } private  EventQueueBackingStoreFactory();  }
EventQueueBackingStoreFactory { static EventQueueBackingStore get(File checkpointFile, int capacity, String name) throws Exception { return get(checkpointFile, capacity, name, true); } private  EventQueueBackingStoreFactory();   }