@Test public void closeClosesEntity() throws Exception { leaseMaintainer.close(); verify(leaseAcquirer).close(); }
@Override public void close() throws IOException { leaseAcquirer.close(); }
LeaseMaintainerImpl implements LeaseMaintainer, LeaseReconnectListener { @Override public void close() throws IOException { leaseAcquirer.close(); } }
LeaseMaintainerImpl implements LeaseMaintainer, LeaseReconnectListener { @Override public void close() throws IOException { leaseAcquirer.close(); } LeaseMaintainerImpl(LeaseAcquirer leaseAcquirer); }
LeaseMaintainerImpl implements LeaseMaintainer, LeaseReconnectListener { @Override public void close() throws IOException { leaseAcquirer.close(); } LeaseMaintainerImpl(LeaseAcquirer leaseAcquirer); @Override Lease getCurrentLease(); @Override void waitForLease(); @Override boolean waitForLease(long timeout, TimeUnit timeUnit); @Override void close(); @Override void reconnecting(); @Override void reconnected(); @Override void destroy(); }
LeaseMaintainerImpl implements LeaseMaintainer, LeaseReconnectListener { @Override public void close() throws IOException { leaseAcquirer.close(); } LeaseMaintainerImpl(LeaseAcquirer leaseAcquirer); @Override Lease getCurrentLease(); @Override void waitForLease(); @Override boolean waitForLease(long timeout, TimeUnit timeUnit); @Override void close(); @Override void reconnecting(); @Override void reconnected(); @Override void destroy();  }