public class BootstrapRequestMap
extends java.lang.Object
BootstrapRequest
s.
It also handles allowing clients to wait for the map's size to change to a specific value.构造器和说明 |
---|
BootstrapRequestMap() |
限定符和类型 | 方法和说明 |
---|---|
void |
cleanBootstrapRequests()
Iterates over the map cleaning up
WeakReference s that have been GCd |
BootstrapRequest |
get(java.lang.String cacheName) |
boolean |
isEmpty() |
java.util.Set<java.lang.String> |
keySet() |
BootstrapRequest |
put(java.lang.String cacheName,
BootstrapRequest bootstrapRequest) |
BootstrapRequest |
remove(java.lang.String cacheName) |
int |
size() |
boolean |
waitForMapSize(int size,
long duration)
Wait for the map to change to the specified size.
|
public boolean waitForMapSize(int size, long duration)
public java.util.Set<java.lang.String> keySet()
Map.keySet()
public boolean isEmpty()
Map.isEmpty()
public int size()
Map.size()
public BootstrapRequest put(java.lang.String cacheName, BootstrapRequest bootstrapRequest)
Map.put(Object, Object)
public BootstrapRequest get(java.lang.String cacheName)
Map.get(Object)
public BootstrapRequest remove(java.lang.String cacheName)
Map.remove(Object)
public void cleanBootstrapRequests()
WeakReference
s that have been GCd