SMILA (incubation) API documentation

org.eclipse.smila.connectivity.queue.worker.internal.recycler
Class RecordRecyclerAgent

java.lang.Object
  extended by org.eclipse.smila.management.LocatedManagementAgentBase
      extended by org.eclipse.smila.management.DeclarativeManagementAgent
          extended by org.eclipse.smila.management.DeclarativeServiceManagementAgent<RecordRecycler>
              extended by org.eclipse.smila.connectivity.queue.worker.internal.recycler.RecordRecyclerAgent
All Implemented Interfaces:
LocatedManagementAgent, ManagementAgent

public class RecordRecyclerAgent
extends DeclarativeServiceManagementAgent<RecordRecycler>

The Class RecordRecyclerAgent.


Field Summary
 
Fields inherited from class org.eclipse.smila.management.DeclarativeServiceManagementAgent
_service
 
Fields inherited from class org.eclipse.smila.management.DeclarativeManagementAgent
_log
 
Constructor Summary
RecordRecyclerAgent()
           
 
Method Summary
protected  java.lang.String getCategory()
          Gets the category.
 java.lang.String[] getConfigurations()
          Gets the configurations.
 java.lang.String getName()
          Gets the name.
 long getRecordsRecycled(java.lang.String dataSourceID)
          Gets the records recycled.
 java.lang.String getStatus(java.lang.String dataSourceID)
          Gets the status.
 void startRecycle(java.lang.String configurationId, java.lang.String dataSourceID)
          Recycle start.
 void stopRecycle(java.lang.String dataSourceID)
          Stop recycle.
 
Methods inherited from class org.eclipse.smila.management.DeclarativeServiceManagementAgent
setService, unsetService
 
Methods inherited from class org.eclipse.smila.management.DeclarativeManagementAgent
activate, deactivate
 
Methods inherited from class org.eclipse.smila.management.LocatedManagementAgentBase
getLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordRecyclerAgent

public RecordRecyclerAgent()
Method Detail

getCategory

protected java.lang.String getCategory()
Gets the category.

Specified by:
getCategory in class LocatedManagementAgentBase
Returns:
the category
See Also:
LocatedManagementAgentBase.getCategory()

getName

public java.lang.String getName()
Gets the name.

Specified by:
getName in class LocatedManagementAgentBase
Returns:
the name
See Also:
LocatedManagementAgentBase.getName()

startRecycle

public void startRecycle(java.lang.String configurationId,
                         java.lang.String dataSourceID)
Recycle start.

Parameters:
configurationId - the configuration id
dataSourceID - the data source id

stopRecycle

public void stopRecycle(java.lang.String dataSourceID)
Stop recycle.

Parameters:
dataSourceID - the data source id

getStatus

public java.lang.String getStatus(java.lang.String dataSourceID)
Gets the status.

Parameters:
dataSourceID - the data source id
Returns:
the status

getRecordsRecycled

public long getRecordsRecycled(java.lang.String dataSourceID)
Gets the records recycled.

Parameters:
dataSourceID - the data source id
Returns:
the records recycled

getConfigurations

public java.lang.String[] getConfigurations()
Gets the configurations.

Returns:
the configurations

SMILA (incubation) API documentation