org.objectweb.dream.trash
Interface TrashMonitoring

All Superinterfaces:
AttributeController
All Known Implementing Classes:
TrashImpl

public interface TrashMonitoring
extends AttributeController

Interface that allows monitoring Trash components. It allows retrieving the number of messages that have been deleted since the last call to the reset() method.


Field Summary
static String ITF_NAME
          The commonly used name to refer to this interface.
 
Method Summary
 int getNumberOfDeletedMessages()
          Returns the number of deleted messages.
 int reset()
          Resets the number of deleted messages.
 

Field Detail

ITF_NAME

static final String ITF_NAME
The commonly used name to refer to this interface.

See Also:
Constant Field Values
Method Detail

getNumberOfDeletedMessages

int getNumberOfDeletedMessages()
Returns the number of deleted messages.

Returns:
the number of deleted messages.

reset

int reset()
Resets the number of deleted messages.

Returns:
the number of deleted messages before resetting the counter.


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.