public class SizeLimitedDistributedMap extends DistributedMap
maxSize / 10 items
are evicted on the next put(String, byte[]) invocation.dir, prefix, zookeeper| Constructor and Description |
|---|
SizeLimitedDistributedMap(SolrZkClient zookeeper,
String dir,
int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
put(String trackingId,
byte[] data) |
public SizeLimitedDistributedMap(SolrZkClient zookeeper, String dir, int maxSize)
public void put(String trackingId, byte[] data) throws org.apache.zookeeper.KeeperException, InterruptedException
put in class DistributedMaporg.apache.zookeeper.KeeperExceptionInterruptedExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.