|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.splunk.Resource com.splunk.Entity com.splunk.LicensePool
public class LicensePool
The LicensePool
class represents a license pool, which is made up
of a single license master and zero or more license slave instances of Splunk
that are configured to use the licensing volume from a set license or license
stack.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class com.splunk.Entity |
---|
content, toUpdate |
Fields inherited from class com.splunk.Resource |
---|
actions, path, refreshArgs, service, title |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns the description of this license pool. |
java.lang.String |
getQuota()
Returns the indexing quota for this license pool. |
java.lang.String[] |
getSlaves()
Returns the list of slaves for this license pool. |
java.util.Map<java.lang.String,java.lang.Long> |
getSlavesUsageBytes()
Returns the usage of indexing volume by slave licenses in this license pool. |
java.lang.String |
getStackId()
Returns the stack ID for this license pool. |
long |
getUsedBytes()
Returns the usage of indexing volume for this license pool. |
void |
setAppendSlaves(boolean appendSlaves)
Sets whether to append or overwrite slaves to this license pool. |
void |
setDescription(java.lang.String description)
Sets the description of this license pool. |
void |
setQuota(java.lang.String quota)
Sets the byte quota of this license pool. |
void |
setSlaves(java.lang.String slaves)
Sets the list of slaves that are members of this license pool. |
void |
setSlaves(java.lang.String[] slaves)
Sets the list of slaves that are members of this license pool. |
Methods inherited from class com.splunk.Entity |
---|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values |
Methods inherited from class com.splunk.Resource |
---|
getName, getPath, getService, getTitle, invalidate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Method Detail |
---|
public java.lang.String getDescription()
null
if not specified.public java.lang.String getQuota()
public java.lang.String[] getSlaves()
null
if not
specified.public java.util.Map<java.lang.String,java.lang.Long> getSlavesUsageBytes()
public java.lang.String getStackId()
null
if not specified.public long getUsedBytes()
public void setAppendSlaves(boolean appendSlaves)
appendSlaves
- true
to append slaves, false
to
overwrite slaves.public void setDescription(java.lang.String description)
description
- The description.public void setQuota(java.lang.String quota)
quota
- The indexing quota of this license pool, specified as:
public void setSlaves(java.lang.String slaves)
slaves
- The comma-separated list of slaves. Use an asterisk ("*")
to accept all slaves.public void setSlaves(java.lang.String[] slaves)
slaves
- The array of slaves. To accept all slaves, use an
array with a single asterisk element ("*").
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |