psdi.mbo

Class MaximoCacheWrapper

  • java.lang.Object
    • psdi.mbo.MaximoCacheWrapper
  • All Implemented Interfaces:
    FixedLoggerNames, FixedLoggers


    public class MaximoCacheWrapper
    extends java.lang.Object
    implements FixedLoggers
    Object that contain an maximo cache. It intersepts the reload calls to the actual cache and fire events when these calls are invoked. It acts as a proxy that adds more functionality to the actual cache.
    • Constructor Detail

      • MaximoCacheWrapper

        public MaximoCacheWrapper(MaximoCache theReal)
    • Method Detail

      • getName

        public java.lang.String getName()
      • reload

        public void reload()
                    throws MXException
        Reload the cache and also fire the event to notify that the cache has reloaded.
        Throws:
        MXException
      • unloadTenant

        public void unloadTenant()
                          throws MXException
        Reload the cache and also fire the event to notify that the cache has reloaded.
        Throws:
        MXException
      • getLoadedTenants

        public java.util.Set getLoadedTenants()
                                       throws MXException
        Reload the cache and also fire the event to notify that the cache has reloaded.
        Returns:
        Throws:
        MXException
      • reload

        public void reload(java.lang.String key)
                    throws MXException
        Reload the cache entry specified by the key and also fire the event to notify that the cache entry has reloaded.
        Throws:
        MXException
      • unloadInactiveCaches

        public void unloadInactiveCaches(long interval)
                                  throws MXException
        Throws:
        MXException