public class RoutingRule extends ZkNodeProps
propMap
Constructor and Description |
---|
RoutingRule(String routeKey,
Map<String,Object> propMap) |
Modifier and Type | Method and Description |
---|---|
List<DocRouter.Range> |
getRouteRanges() |
String |
getRouteRangesStr() |
String |
getTargetCollectionName() |
boolean |
isExpired() |
static String |
makeExpiryAt(long timeMsFromNow) |
String |
toString() |
containsKey, equals, fromKeyVals, get, getBool, getInt, getProperties, getStr, getStr, keySet, load, plus, plus, shallowCopy, write
public List<DocRouter.Range> getRouteRanges()
public String getTargetCollectionName()
public static String makeExpiryAt(long timeMsFromNow)
public boolean isExpired()
public String getRouteRangesStr()
public String toString()
toString
in class ZkNodeProps
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.