Codota Logo
AdvancedCacheExpirationWriter$ExpirationPurgeListener.marshalledEntryPurged
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
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

    • Updating database using SQL prepared statement
    • getApplicationContext (Context)
    • notifyDataSetChanged (ArrayAdapter)
    • scheduleAtFixedRate (ScheduledExecutorService)
      Creates and executes a periodic action that becomes enabled first after the given initial delay, and
    • Date (java.sql)
      A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
    • SimpleDateFormat (java.text)
      Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
    • List (java.util)
      A List is a collection which maintains an ordering for its elements. Every element in the List has a
    • Set (java.util)
      A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
    • StringTokenizer (java.util)
      The string tokenizer class allows an application to break a string into tokens. The tokenization met
    • Logger (org.apache.log4j)
      This is the central class in the log4j package. Most logging operations, except configuration, are d
    Codota Logo
    • Products

      Search for Java codeSearch for JavaScript codeEnterprise
    • IDE Plugins

      IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Codota for your IDE now