# com.bea.wli.management.runtime
ArchiverRuntimeMBean Interface

public interface ArchiverRuntimeMBean
extends `RuntimeMBean`

All Superinterfaces
  `DynamicMBean`, `MBeanRegistration`, `NotificationBroadcaster`, `RuntimeMBean`, `WebLogicMBean`

## Field Summary

`public static final long` | `CACHING_STUB_SVUID` The magic number that is used to generate the serialVersionUID of the generated MBean Stub (xxxMBean_Stub).

## Method Summary

`public `String`[]` | `getDataSouceJNDINames`() Returns a list of JNDI names for DataSources that can be used for archiving.
`public long` | `getEventRowCount`() Returns the number of events in the process tracking table.
`public long` | `getLastProcessEndTime`() Returns a time (in milllis) that indicates the last time this process finshed.
`public long` | `getLastProcessStartTime`() Returns a time (in milllis) that indicates the last time this process was started.
`public void` | `runWLIArchiver`() Force the archiver process to run ASAP, instead of waiting for next scheduled time.
`public void` | `setLastProcessEndTime`(long time) internal
`public void` | `setLastProcessStartTime`(long time) internal
`public void` | `stopCurrentRun`() Gracefully interrupts the current archiver run.

Methods from interface `javax.management.`DynamicMBean``
`getAttribute, getAttributes, getMBeanInfo, invoke, setAttribute, setAttributes`

Methods from interface `javax.management.`MBeanRegistration``
`postDeregister, postRegister, preDeregister, preRegister`

Methods from interface `javax.management.`NotificationBroadcaster``
`addNotificationListener, getNotificationInfo, removeNotificationListener`

Methods from interface `weblogic.management.runtime.`RuntimeMBean``
`preDeregister`

Methods from interface `weblogic.management.`WebLogicMBean``
`getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent`

## Field Detail

### CACHING_STUB_SVUID

    public static final long CACHING_STUB_SVUID

  The magic number that is used to generate the serialVersionUID of the generated MBean Stub (xxxMBean_Stub). You must change this value whenever you make one of the changes to this interface:

  - remove an existing method.
  - change the signature of an existing "getter" or "setter" method.
  - change the signature of an existing "boolean getter", i.e, "boolean isEnabled()"

  Otherwise you don't need to change this value. For instance you can add new methods, or you can change the signature of methods that don't start with "get", "set" or "is". If you are in doubt then change the SVUID. It is a good idea to increment this value when changing.

## Method Detail

### getDataSouceJNDINames() Method

    public String[] getDataSouceJNDINames()
         throws WLIArchiverException

Returns a list of JNDI names for DataSources that can be used for archiving.

#### Exceptions

``WLIArchiverException``

### getEventRowCount() Method

    public long getEventRowCount()
         throws WLIArchiverException

Returns the number of events in the process tracking table.

#### Exceptions

``WLIArchiverException``

### getLastProcessEndTime() Method

    public long getLastProcessEndTime()
         throws WLIArchiverException

Returns a time (in milllis) that indicates the last time this process finshed.

#### Exceptions

``WLIArchiverException``

### getLastProcessStartTime() Method

    public long getLastProcessStartTime()
         throws WLIArchiverException

Returns a time (in milllis) that indicates the last time this process was started.

#### Exceptions

``WLIArchiverException``

### runWLIArchiver() Method

    public void runWLIArchiver()
         throws WLIArchiverException

Force the archiver process to run ASAP, instead of waiting for next scheduled time.

#### Exceptions

``WLIArchiverException``

### setLastProcessEndTime(long) Method

    public void setLastProcessEndTime(long time)

internal

### setLastProcessStartTime(long) Method

    public void setLastProcessStartTime(long time)

internal

### stopCurrentRun() Method

    public void stopCurrentRun()
         throws WLIArchiverException

Gracefully interrupts the current archiver run. If the process is not running, this command is ignored.

#### Exceptions

``WLIArchiverException``