|
||||||||||
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.License
public class License
The License
class represents a license, providing access to the
licenses for this Splunk instance. Splunk licenses specify how much data
you can index per calendar day (from midnight to midnight by the clock on
the license master).
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Method Summary | |
---|---|
java.util.Date |
getCreationTime()
Returns the time and date the license was created. |
java.util.Date |
getExpirationTime()
Returns the time and date this license expires. |
java.lang.String[] |
getFeatures()
Returns a list of enabled features for this license. |
java.lang.String |
getGroupId()
Returns the group ID for this license. |
java.lang.String |
getLabel()
Returns the label for this license. |
java.lang.String |
getLicenseHash()
Returns the hash value for this license. |
int |
getMaxViolations()
Returns the maximum number of violations allowed for this license. |
long |
getQuota()
Returns the daily indexing quota, which is the maximum bytes per day of indexing volume for this license. |
java.lang.String[] |
getSourceTypes()
Returns the source types that, when indexed, count against the indexing volume for this license. |
java.lang.String |
getStackId()
Returns the stack ID for this license. |
java.lang.String |
getStatus()
Returns the status of this license. |
java.lang.String |
getType()
Returns the license type. |
int |
getWindowPeriod()
Returns the number of days remaining in the rolling time window for this license. |
Methods inherited from class com.splunk.Entity |
---|
clear, containsKey, containsValue, disable, enable, entrySet, get, getMetadata, isDisabled, isEmpty, 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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Method Detail |
---|
public java.util.Date getCreationTime()
public java.util.Date getExpirationTime()
public java.lang.String[] getFeatures()
public java.lang.String getGroupId()
null
if not available.public java.lang.String getLabel()
null
if not available.public java.lang.String getLicenseHash()
public int getMaxViolations()
public long getQuota()
public java.lang.String[] getSourceTypes()
null
if not specified.public java.lang.String getStackId()
public java.lang.String getStatus()
public java.lang.String getType()
public int getWindowPeriod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |