Tabnine Logo
AdvancedCacheExpirationWriter$ExpirationPurgeListener.marshalledEntryPurged
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.infinispan.persistence.spi.AdvancedCacheExpirationWriter$ExpirationPurgeListener.marshalledEntryPurged (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-dynamodb

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

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

    en.getMetadata()
  );
purgeListener.marshalledEntryPurged(marshalledEntry);
counter++;
org.infinispan.persistence.spiAdvancedCacheExpirationWriter$ExpirationPurgeListenermarshalledEntryPurged

Popular methods of AdvancedCacheExpirationWriter$ExpirationPurgeListener

    Popular in Java

    • Start an intent from android
    • notifyDataSetChanged (ArrayAdapter)
    • orElseThrow (Optional)
      Return the contained value, if present, otherwise throw an exception to be created by the provided s
    • findViewById (Activity)
    • BufferedReader (java.io)
      Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
    • SocketException (java.net)
      This SocketException may be thrown during socket creation or setting options, and is the superclass
    • Scanner (java.util)
      A parser that parses a text string of primitive types and strings with the help of regular expressio
    • TimerTask (java.util)
      The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
    • Pattern (java.util.regex)
      Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
    • IOUtils (org.apache.commons.io)
      General IO stream manipulation utilities. This class provides static utility methods for input/outpu
    • CodeWhisperer alternatives
    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