@Test public void untrackClient() throws Exception { Tracker<Object, Object> messageTracker = this.clientTracker.getTracker(mockClientId(1L)); clientTracker.untrackClient(mockClientId(1L)); assertThat(clientTracker.getTracker(mockClientId(1L)), not(sameInstance(messageTracker))); }
@Override public void untrackClient(ClientSourceId clientId) { objectTrackers.remove(clientId); }
ClientTrackerImpl implements ClientTracker<M, R> { @Override public void untrackClient(ClientSourceId clientId) { objectTrackers.remove(clientId); } }
ClientTrackerImpl implements ClientTracker<M, R> { @Override public void untrackClient(ClientSourceId clientId) { objectTrackers.remove(clientId); } ClientTrackerImpl(); }
ClientTrackerImpl implements ClientTracker<M, R> { @Override public void untrackClient(ClientSourceId clientId) { objectTrackers.remove(clientId); } ClientTrackerImpl(); @Override void untrackClient(ClientSourceId clientId); @Override Set<ClientSourceId> getTrackedClients(); @Override void addStateTo(StateDumpCollector stateDumper); }
ClientTrackerImpl implements ClientTracker<M, R> { @Override public void untrackClient(ClientSourceId clientId) { objectTrackers.remove(clientId); } ClientTrackerImpl(); @Override void untrackClient(ClientSourceId clientId); @Override Set<ClientSourceId> getTrackedClients(); @Override void addStateTo(StateDumpCollector stateDumper);  }