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 DistributedMap
org.apache.zookeeper.KeeperException
InterruptedException
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.