Examples of KeyValueFilterAsCacheEventFilter


Examples of org.infinispan.notifications.cachelistener.filter.KeyValueFilterAsCacheEventFilter

   @Test
   public void testMetadataFilterNotOwner() {
      final String keyToFilterOut = "filter-me";
      testFilter(keyToFilterOut, new MagicKey(cache(1, CACHE_NAME), cache(2, CACHE_NAME)), 1000l,
                 new KeyValueFilterAsCacheEventFilter(new LifespanFilter<Object, String>(100)));
   }
View Full Code Here

Examples of org.infinispan.notifications.cachelistener.filter.KeyValueFilterAsCacheEventFilter

   @Test
   public void testMetadataFilterLocalOnly() {
      final String keyToFilterOut = "filter-me";
      testFilter(keyToFilterOut, new MagicKey(cache(0, CACHE_NAME)), 1000l,
                 new KeyValueFilterAsCacheEventFilter(new LifespanFilter<Object, String>(100)));
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.