GridGain™ 2.1.0
Java API Specification

org.gridgain.grid.spi.eventstorage.memory
Interface GridMemoryEventStorageSpiMBean

All Superinterfaces:
GridSpiManagementMBean
All Known Implementing Classes:
GridMemoryEventStorageSpi

@GridMBeanDescription(value="MBean that provides access to memory event storage SPI configuration.")
public interface GridMemoryEventStorageSpiMBean
extends GridSpiManagementMBean

Management bean for GridMemoryEventStorageSpi. Beside properties defined for every SPI bean this one gives access to:





See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

Author:   2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.1.0

 

Method Summary
 void clearAll()
          Removes all events from the event queue.
 long getExpireAgeMs()
          Gets event time-to-live value.
 long getExpireCount()
          Gets maximum event queue size.
 
Methods inherited from interface org.gridgain.grid.spi.GridSpiManagementMBean
getAuthor, getGridGainHome, getLocalNodeId, getName, getStartTimestamp, getStartTimestampFormatted, getUpTime, getUpTimeFormatted, getVendorEmail, getVendorUrl, getVersion
 

Method Detail

getExpireAgeMs

@GridMBeanDescription(value="Event time-to-live value.")
long getExpireAgeMs()
Gets event time-to-live value. Implementation must guarantee that event would not be accessible if its lifetime exceeds this value.

Returns:
Event time-to-live.

getExpireCount

@GridMBeanDescription(value="Maximum event queue size.")
long getExpireCount()
Gets maximum event queue size. New incoming events will oust oldest ones if queue size exceeds this limit.

Returns:
Maximum event queue size.

clearAll

@GridMBeanDescription(value="Removes all events from the event queue.")
void clearAll()
Removes all events from the event queue.


GridGain™ 2.1.0
Java API Specification

GridGain™ - Grid Computing Made Simple, ver. 2.1.0.19122008
2005-2008 Copyright © GridGain Systems. All Rights Reserved.