peer.connectionBean().timer().scheduleAtFixedRate(peerMapUpdateTask, 0, peerMapUpdateInterval(), TimeUnit.SECONDS);
final Shutdown shutdown = new Shutdown() {
@Override
public BaseFuture shutdown() {
peerMapUpdateTask.cancel();
return new FutureDone<Void>().done();
}
};
peer.addShutdownListener(shutdown);