Modifier and Type | Method and Description |
---|---|
boolean |
containsObject(String name)
Returns whether there is an object of the given name in this data model.
|
String |
getAccelerationCronSchedule()
Return the cron schedule on which the cached data for acceleration should be
updated.
|
String |
getAccelerationNamespace()
Returns the tsidx namespace which holds global acceleration events for this
data model.
|
String |
getDescription() |
String |
getDisplayName() |
String |
getEarliestAcceleratedTime()
Return the earliest time of the window over which the data model is accelerated.
|
DataModelObject |
getObject(String name)
Retrieve an object by name from this data model.
|
Collection<DataModelObject> |
getObjects() |
String |
getRawJson() |
boolean |
isAccelerated() |
boolean |
isManualRebuilds()
This setting prevents outdated summaries from being rebuilt by the
'summarize' command.
|
void |
setAcceleration(boolean enabled)
Enable or disable global acceleration on this data model.
|
void |
setAccelerationCronSchedule(String accelerationCronSchedule)
Set the cron schedule on which the cached data for the acceleration should
be updated.
|
void |
setEarliestAcceleratedTime(String earliestAcceleratedTime)
Set the size of the window (from the specified earliest time to now) over
which the data model should be accelerated.
|
void |
setManualRebuilds(boolean enabled)
Enable or disable manual rebuilds on this data model.
|
void |
update()
Updates the entity with the accumulated arguments, established by the
individual setter methods for each specific entity class.
|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, 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 boolean containsObject(String name)
name
- Name of the object to check for.public DataModelObject getObject(String name)
name
- Name of the object to retrieve.public Collection<DataModelObject> getObjects()
public String getAccelerationNamespace()
public boolean isAccelerated()
public String getDescription()
public String getRawJson()
public String getDisplayName()
public void setAcceleration(boolean enabled)
enabled
- true enabled, false disables.public String getEarliestAcceleratedTime()
public void setEarliestAcceleratedTime(String earliestAcceleratedTime)
earliestAcceleratedTime
- a string specifying a time.public String getAccelerationCronSchedule()
public void setAccelerationCronSchedule(String accelerationCronSchedule)
accelerationCronSchedule
- a crontab style schedule to use.public boolean isManualRebuilds()
public void setManualRebuilds(boolean enabled)
enabled
- true enabled, false disables.Copyright © 2022 Splunk, Inc.. All rights reserved.