@Test public void testRemove() throws Exception { latencyFaultTolerance.updateFaultItem(brokerName, 3000, 3000); assertThat(latencyFaultTolerance.isAvailable(brokerName)).isFalse(); latencyFaultTolerance.remove(brokerName); assertThat(latencyFaultTolerance.isAvailable(brokerName)).isTrue(); }
@Override public void remove(final String name) { this.faultItemTable.remove(name); }
LatencyFaultToleranceImpl implements LatencyFaultTolerance<String> { @Override public void remove(final String name) { this.faultItemTable.remove(name); } }
LatencyFaultToleranceImpl implements LatencyFaultTolerance<String> { @Override public void remove(final String name) { this.faultItemTable.remove(name); }  }
LatencyFaultToleranceImpl implements LatencyFaultTolerance<String> { @Override public void remove(final String name) { this.faultItemTable.remove(name); }  @Override void updateFaultItem(final String name, final long currentLatency, final long notAvailableDuration); @Override boolean isAvailable(final String name); @Override void remove(final String name); @Override String pickOneAtLeast(); @Override String toString(); }
LatencyFaultToleranceImpl implements LatencyFaultTolerance<String> { @Override public void remove(final String name) { this.faultItemTable.remove(name); }  @Override void updateFaultItem(final String name, final long currentLatency, final long notAvailableDuration); @Override boolean isAvailable(final String name); @Override void remove(final String name); @Override String pickOneAtLeast(); @Override String toString();  }