public class Quotas extends Object
Modifier and Type | Field and Description |
---|---|
static String |
limitNode
the limit node that has the limit of
a subtree
|
static String |
procZookeeper
the zookeeper nodes that acts as the management and status node
|
static String |
quotaZookeeper
the zookeeper quota node that acts as the quota
management node for zookeeper
|
static String |
statNode
the stat node that monitors the limit of
a subtree.
|
Constructor and Description |
---|
Quotas() |
Modifier and Type | Method and Description |
---|---|
static String |
limitPath(String path)
return the limit quota path associated with this
prefix
|
static String |
quotaPath(String path)
return the quota path associated with this
prefix
|
static String |
statPath(String path)
return the stat quota path associated with this
prefix.
|
static String |
trimQuotaPath(String quotaPath)
return the real path associated with this
quotaPath.
|
public static final String procZookeeper
public static final String quotaZookeeper
public static final String limitNode
public static final String statNode
public static String quotaPath(String path)
path
- the actual path in zookeeper.public static String limitPath(String path)
path
- the actual path in zookeeper.public static String statPath(String path)
path
- the actual path in zookeeperCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.