Class RoutingRule

  • All Implemented Interfaces:
    org.noggit.JSONWriter.Writable

    public class RoutingRule
    extends ZkNodeProps
    Used for routing docs with particular keys into another collection
    • Method Detail

      • getTargetCollectionName

        public String getTargetCollectionName()
      • makeExpiryAt

        public static String makeExpiryAt​(long timeMsFromNow)
      • isExpired

        public boolean isExpired()
      • getRouteRangesStr

        public String getRouteRangesStr()