Code example for ConcurrentHashMap

Methods: clear

0
 
 
    @Override 
    public void stop() throws NotifyRemotingException { 
        this.remotingClient.stop();
        this.refsCache.clear();
    } 
 
 
    @Override 
    public RequestProcessor<? extends RequestCommand> unreigsterProcessor(final Class<? extends RequestCommand> clazz) {
        return this.remotingClient.unreigsterProcessor(clazz);
    } 
 
 
    @Override 
    public void transferToGroup(String group, IoBuffer head, IoBuffer tail, FileChannel channel, long position,
            long size, Integer opaque, SingleRequestCallBackListener listener, long time, TimeUnit unit)
                    throws NotifyRemotingException { 
        this.remotingClient.transferToGroup(group, head, tail, channel, position, size, opaque, listener, time, unit);