|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.splunk.Resource
com.splunk.Entity
com.splunk.DistributedConfiguration
public class DistributedConfiguration
The DistributedConfiguration
class represents a Splunk distributed
search configuration, providing access to Splunk's distributed search options.
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.Resource |
---|
actions, path, service, title |
Method Summary | |
---|---|
protected java.lang.String |
actionPath(java.lang.String action)
Returns the action path. |
boolean |
getAutoAddServers()
Indicates whether Splunk automatically adds all discovered servers. |
java.lang.String |
getBlacklistNames()
Returns a list of server names that are excluded from being peers. |
java.lang.String |
getBlacklistUrls()
Returns a list of server URLs that are excluded from being peers. |
int |
getCheckTimedOutServersFrequency()
Returns the frequency at which servers that have timed out are rechecked. |
int |
getConnectionTimeout()
Returns the time-out period for connecting to search peers. |
int |
getHeartbeatFrequency()
Returns the period between heartbeat checks on other servers' health. |
java.lang.String |
getHeartbeatMcastAddress()
Returns the multi-cast address where each Splunk server sends and listens for heartbeat messages. |
int |
getHeartbeatPort()
Returns the port where each Splunk server sends and listens for heartbeat messages. |
int |
getReceiveTimeout()
Returns the time-out period for trying to read and receive data from a search peer. |
boolean |
getRemovedTimedOutServers()
Indicates whether timed-out servers are removed from the distributed configuration. |
int |
getSendTimeout()
Returns the time-out period for trying to write or send data to a search peer. |
java.lang.String |
getServers()
Returns a list of peer servers. |
int |
getServerTimeout()
Deprecated. Use specific getConnectionTimeout ,
getReceiveTimeout , and getSendTimeout .
Returns the server time-out period. |
boolean |
getShareBundles()
Indicates whether this server uses bundle replication to share search-time configuration with search peers. |
boolean |
getSkipOurselves()
Indicates whether this server participates in a search. |
int |
getStatusTimeout()
Returns the time-out period for gathering a search peer's basic info (/services/server/info). |
int |
getTtl()
Returns the time-to-live (ttl) of heartbeat messages. |
boolean |
isDistSearchEnabled()
Indicates whether distributed search is enabled. |
Methods inherited from class com.splunk.Entity |
---|
clear, containsKey, containsValue, disable, enable, entrySet, get, getMetadata, isDisabled, isEmpty, keySet, put, putAll, refresh, reload, remove, remove, size, update, validate, values |
Methods inherited from class com.splunk.Resource |
---|
getActions, 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 |
---|
protected java.lang.String actionPath(java.lang.String action)
actionPath
in class Entity
action
- The requested action.
public boolean getAutoAddServers()
true
if Splunk automatically adds servers, false
if not.public java.lang.String getBlacklistNames()
null
if not available.public java.lang.String getBlacklistUrls()
null
if not available.public int getConnectionTimeout()
public int getCheckTimedOutServersFrequency()
removeTimedOutServers
is false, this setting has no effect.
public int getHeartbeatFrequency()
public java.lang.String getHeartbeatMcastAddress()
null
if not available.public int getHeartbeatPort()
public int getReceiveTimeout()
public boolean getRemovedTimedOutServers()
true
if timed-out servers are removed from the distributed
configuration, false
if not.public int getServerTimeout()
getConnectionTimeout
,
getReceiveTimeout
, and getSendTimeout
.
Returns the server time-out period.
public int getSendTimeout()
public java.lang.String getServers()
null
if not available.public boolean getShareBundles()
false
, the search head assumes that the
search peers can access the correct bundles using an NFS share.
true
if this server uses bundle replication, false
if not.public boolean getSkipOurselves()
true
if the server does not participate as a server in any
search, false
if it does.public int getStatusTimeout()
public int getTtl()
public boolean isDistSearchEnabled()
true
if distributed search is enabled, false
if disabled.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |