public class LicensePool extends Entity
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.Modifier and Type | Method and Description |
---|---|
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.
|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values
getName, getPath, getService, getTitle, getUpdated, invalidate
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 ("*").