Package com.tangosol.util

Examples of com.tangosol.util.MapEvent


            if (cache instanceof CacheWrapper) {
                Cache wrapped = ((CacheWrapper) cache).getWrappedCache();
                if (wrapped instanceof ClusteredCache) {
                    ClusteredCache clusteredCache = (ClusteredCache) wrapped;
                    for (Map.Entry entry : cache.entrySet()) {
                        MapEvent event = new MapEvent(clusteredCache.map, MapEvent.ENTRY_INSERTED, entry.getKey(), null,
                                entry.getValue());
                        mapListener.entryInserted(event);
                    }
                }
            }
View Full Code Here


  }

  @Override
  public boolean evaluate(Object o)
  {
    MapEvent evt = (MapEvent) o;
    return ((MapEvent.ENTRY_UPDATED == evt.getId())
            || (MapEvent.ENTRY_INSERTED == evt.getId()));
  }
View Full Code Here

TOP

Related Classes of com.tangosol.util.MapEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.