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