congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
AdvancedCacheExpirationWriter$ExpirationPurgeListener
Code IndexAdd Tabnine to your IDE (free)

How to use
AdvancedCacheExpirationWriter$ExpirationPurgeListener
in
org.infinispan.persistence.spi

Best Java code snippets using org.infinispan.persistence.spi.AdvancedCacheExpirationWriter$ExpirationPurgeListener (Showing top 4 results out of 315)

origin: org.infinispan/infinispan-core

@Override
public void purge(Executor executor, ExpirationPurgeListener listener) {
 long currentTimeMillis = timeService.wallClockTime();
 Set expired = new HashSet();
 for (Iterator<Map.Entry<Object, byte[]>> i = store.entrySet().iterator(); i.hasNext();) {
   Map.Entry<Object, byte[]> next = i.next();
   MarshalledEntry se = deserialize(next.getKey(), next.getValue(), true, true);
   if (isExpired(se, currentTimeMillis)) {
    if (listener != null) listener.marshalledEntryPurged(se);
    i.remove();
    expired.add(next.getKey());
   }
 }
}
origin: com.nimbusds/infinispan-cachestore-ldap

    en.getMetadata()
  );
purgeListener.marshalledEntryPurged(marshalledEntry);
deleteCounter++;
origin: com.nimbusds/infinispan-cachestore-sql

    en.getMetadata()
  );
purgeListener.marshalledEntryPurged(marshalledEntry);
counter++;
origin: com.nimbusds/infinispan-cachestore-dynamodb

    en.getMetadata()
  );
purgeListener.marshalledEntryPurged(marshalledEntry);
deleteCounter.incrementAndGet();
org.infinispan.persistence.spiAdvancedCacheExpirationWriter$ExpirationPurgeListener

Most used methods

  • marshalledEntryPurged

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getApplicationContext (Context)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JTextField (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now