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 |
---|---|
String |
getDescription()
Returns the description of this license pool.
|
String |
getQuota()
Returns the indexing quota for this license pool.
|
String[] |
getSlaves()
Returns the list of slaves for this license pool.
|
Map<String,Long> |
getSlavesUsageBytes()
Returns the usage of indexing volume by slave licenses in this license
pool.
|
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(String description)
Sets the description of this license pool.
|
void |
setQuota(String quota)
Sets the byte quota of this license pool.
|
void |
setSlaves(String slaves)
Sets the list of slaves that are members of this license pool.
|
void |
setSlaves(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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getDescription()
null
if not specified.public String getQuota()
public String[] getSlaves()
null
if not
specified.public Map<String,Long> getSlavesUsageBytes()
public 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(String description)
description
- The description.public void setQuota(String quota)
quota
- The indexing quota of this license pool, specified as:
public void setSlaves(String slaves)
slaves
- The comma-separated list of slaves. Use an asterisk ("*")
to accept all slaves.public void setSlaves(String[] slaves)
slaves
- The array of slaves. To accept all slaves, use an
array with a single asterisk element ("*").Copyright © 2022 Splunk, Inc.. All rights reserved.