Package oracle.kv.mgmt.jmx

# Interface AdminMXBean

public interface AdminMXBean
This MBean represents an Admin's operational parameters.

Since:
  2.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getAdminId()`
  Returns the AdminId number of an Admin instance.
  `String`
  `getEnvMetric()`
  Returns a JSON string containing a bundle of JE environment-related metrics.
  `long`
  `getEventExpiryAge()`
  Returns how long to keep critical event records.
  `int`
  `getLogFileCount()`
  Returns number of log files that are kept.
  `int`
  `getLogFileLimit()`
  Returns the maximum size of log files.
  `long`
  `getPollPeriodMillis()`
  Returns The polling period for collecting metrics.
  `String`
  `getServiceStatus()`
  Returns the reported service status of the Admin.
  `boolean`
  `isMaster()`
  Tells whether this Admin is the master among Admin instances.

- ## Method Details

  - ### getAdminId

    int getAdminId()
    Returns the AdminId number of an Admin instance.

  - ### getServiceStatus

    String getServiceStatus()
    Returns the reported service status of the Admin.

  - ### getLogFileLimit

    int getLogFileLimit()
    Returns the maximum size of log files.

  - ### getLogFileCount

    int getLogFileCount()
    Returns number of log files that are kept.

  - ### getPollPeriodMillis

    long getPollPeriodMillis()
    Returns The polling period for collecting metrics.

  - ### getEventExpiryAge

    long getEventExpiryAge()
    Returns how long to keep critical event records.

  - ### isMaster

    boolean isMaster()
    Tells whether this Admin is the master among Admin instances.

  - ### getEnvMetric

    String getEnvMetric()
    Returns a JSON string containing a bundle of JE environment-related metrics. These metrics are also reported by the notification oracle.kv.admin.envmetric.