@Test public void testDeallocate() throws Exception { TestPoolable value = new TestPoolable("value"); retryingAllocator.deallocate(value); Mockito.verify(allocator).deallocate(value); }
@Override public void deallocate(V poolable) throws Exception { allocator.deallocate(poolable); }
RetryingAllocator implements Allocator<V> { @Override public void deallocate(V poolable) throws Exception { allocator.deallocate(poolable); } }
RetryingAllocator implements Allocator<V> { @Override public void deallocate(V poolable) throws Exception { allocator.deallocate(poolable); } RetryingAllocator(Allocator<V> allocator);  RetryingAllocator(Allocator<V> allocator, long waitInterval, long maxWaitInterval); }
RetryingAllocator implements Allocator<V> { @Override public void deallocate(V poolable) throws Exception { allocator.deallocate(poolable); } RetryingAllocator(Allocator<V> allocator);  RetryingAllocator(Allocator<V> allocator, long waitInterval, long maxWaitInterval); @Override V allocate(final Slot slot); @Override void deallocate(V poolable); }
RetryingAllocator implements Allocator<V> { @Override public void deallocate(V poolable) throws Exception { allocator.deallocate(poolable); } RetryingAllocator(Allocator<V> allocator);  RetryingAllocator(Allocator<V> allocator, long waitInterval, long maxWaitInterval); @Override V allocate(final Slot slot); @Override void deallocate(V poolable);  }