org.rhq.enterprise.server.cloud.instance
Class CacheConsistencyManagerBean

java.lang.Object
  extended by org.rhq.enterprise.server.cloud.instance.CacheConsistencyManagerBean
All Implemented Interfaces:
CacheConsistencyManagerLocal

public class CacheConsistencyManagerBean
extends Object
implements CacheConsistencyManagerLocal

Each server has partitioned alerts condition cache data. This session bean exists to check whether or not the something has changed in the system that would require the cache to asynchronously reload itself.

Author:
Joseph Marques

Constructor Summary
CacheConsistencyManagerBean()
           
 
Method Summary
 void handleHeartbeatTimer(javax.ejb.Timer timer)
           
 void reloadServerCacheIfNeeded()
           
 void scheduleServerCacheReloader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheConsistencyManagerBean

public CacheConsistencyManagerBean()
Method Detail

scheduleServerCacheReloader

public void scheduleServerCacheReloader()
Specified by:
scheduleServerCacheReloader in interface CacheConsistencyManagerLocal

handleHeartbeatTimer

public void handleHeartbeatTimer(javax.ejb.Timer timer)
Specified by:
handleHeartbeatTimer in interface CacheConsistencyManagerLocal

reloadServerCacheIfNeeded

public void reloadServerCacheIfNeeded()
Specified by:
reloadServerCacheIfNeeded in interface CacheConsistencyManagerLocal


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.