public class AMQPSenderCache extends Object
Constructor and Description |
---|
AMQPSenderCache(ConcurrentMap<Integer,AMQPSender> cache) |
Modifier and Type | Method and Description |
---|---|
void |
add(Integer hashKey,
AMQPSender entry) |
void |
clean() |
AMQPSender |
get(Integer hashKey) |
boolean |
hit(Integer hashKey) |
void |
remove(Integer hashKey) |
public AMQPSenderCache(ConcurrentMap<Integer,AMQPSender> cache)
public boolean hit(Integer hashKey)
public void add(Integer hashKey, AMQPSender entry)
public void remove(Integer hashKey)
public AMQPSender get(Integer hashKey)
public void clean()
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.