@Test public void reconnectData() { LeaseReconnectData reconnectData = leaseAcquirer.getReconnectData(); assertEquals(0, reconnectData.getConnectionSequenceNumber()); }
@Override public LeaseReconnectData getReconnectData() { return new LeaseReconnectData(connectionSequenceNumber.get()); }
LeaseAcquirerImpl implements LeaseAcquirer, LeaseReconnectListener, LeaseReconnectDataSupplier { @Override public LeaseReconnectData getReconnectData() { return new LeaseReconnectData(connectionSequenceNumber.get()); } }
LeaseAcquirerImpl implements LeaseAcquirer, LeaseReconnectListener, LeaseReconnectDataSupplier { @Override public LeaseReconnectData getReconnectData() { return new LeaseReconnectData(connectionSequenceNumber.get()); } LeaseAcquirerImpl(EntityClientEndpoint<LeaseMessage, LeaseResponse> endpoint, LeaseReconnectListener reconnectListener); }
LeaseAcquirerImpl implements LeaseAcquirer, LeaseReconnectListener, LeaseReconnectDataSupplier { @Override public LeaseReconnectData getReconnectData() { return new LeaseReconnectData(connectionSequenceNumber.get()); } LeaseAcquirerImpl(EntityClientEndpoint<LeaseMessage, LeaseResponse> endpoint, LeaseReconnectListener reconnectListener); @Override long acquireLease(); @Override void close(); @Override void reconnecting(); @Override void reconnected(); @Override LeaseReconnectData getReconnectData(); }
LeaseAcquirerImpl implements LeaseAcquirer, LeaseReconnectListener, LeaseReconnectDataSupplier { @Override public LeaseReconnectData getReconnectData() { return new LeaseReconnectData(connectionSequenceNumber.get()); } LeaseAcquirerImpl(EntityClientEndpoint<LeaseMessage, LeaseResponse> endpoint, LeaseReconnectListener reconnectListener); @Override long acquireLease(); @Override void close(); @Override void reconnecting(); @Override void reconnected(); @Override LeaseReconnectData getReconnectData();  }