congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
DailyCacheInvalidationPolicy.incrementExpiry
Code IndexAdd Tabnine to your IDE (free)

How to use
incrementExpiry
method
in
org.eclipse.persistence.descriptors.invalidation.DailyCacheInvalidationPolicy

Best Java code snippets using org.eclipse.persistence.descriptors.invalidation.DailyCacheInvalidationPolicy.incrementExpiry (Showing top 9 results out of 315)

origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Return the next expiry time.
 */
public long getExpiryTimeInMillis(CacheKey key) {
  incrementExpiry();
  return this.expiryTime.getTimeInMillis();
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Return the next expiry time.
 */
public long getExpiryTimeInMillis(CacheKey key) {
  incrementExpiry();
  return this.expiryTime.getTimeInMillis();
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Return the next expiry time.
 */
public long getExpiryTimeInMillis(CacheKey key) {
  incrementExpiry();
  return this.expiryTime.getTimeInMillis();
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * PUBLIC:
 * Set a new expiry time for this object
* Provide the hour, minute, second and millisecond.  Objects which make use of this policy
 * will be set to expire at that exact time every day.
 */
public void setExpiryTime(int hour, int minute, int second, int millisecond) {
  expiryTime = Calendar.getInstance();
  expiryTime.set(Calendar.HOUR_OF_DAY, hour);
  expiryTime.set(Calendar.MINUTE, minute);
  expiryTime.set(Calendar.SECOND, second);
  expiryTime.set(Calendar.MILLISECOND, millisecond);
  previousExpiry = (Calendar)expiryTime.clone();
  previousExpiry.add(Calendar.DAY_OF_YEAR, -1);
  incrementExpiry();
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * PUBLIC:
 * Set a new expiry time for this object
* Provide the hour, minute, second and millisecond.  Objects which make use of this policy
 * will be set to expire at that exact time every day.
 */
public void setExpiryTime(int hour, int minute, int second, int millisecond) {
  expiryTime = Calendar.getInstance();
  expiryTime.set(Calendar.HOUR_OF_DAY, hour);
  expiryTime.set(Calendar.MINUTE, minute);
  expiryTime.set(Calendar.SECOND, second);
  expiryTime.set(Calendar.MILLISECOND, millisecond);
  previousExpiry = (Calendar)expiryTime.clone();
  previousExpiry.add(Calendar.DAY_OF_YEAR, -1);
  incrementExpiry();
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * PUBLIC:
 * Set a new expiry time for this object
* Provide the hour, minute, second and millisecond.  Objects which make use of this policy
 * will be set to expire at that exact time every day.
 */
public void setExpiryTime(int hour, int minute, int second, int millisecond) {
  expiryTime = Calendar.getInstance();
  expiryTime.set(Calendar.HOUR_OF_DAY, hour);
  expiryTime.set(Calendar.MINUTE, minute);
  expiryTime.set(Calendar.SECOND, second);
  expiryTime.set(Calendar.MILLISECOND, millisecond);
  previousExpiry = (Calendar)expiryTime.clone();
  previousExpiry.add(Calendar.DAY_OF_YEAR, -1);
  incrementExpiry();
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

if (readTime < expiryMillis) {
  incrementExpiry();
  return true;
} else {
  incrementExpiry();
  return false;
origin: com.haulmont.thirdparty/eclipselink

if (readTime < expiryMillis) {
  incrementExpiry();
  return true;
} else {
  incrementExpiry();
  return false;
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

if (readTime < expiryMillis) {
  incrementExpiry();
  return true;
} else {
  incrementExpiry();
  return false;
org.eclipse.persistence.descriptors.invalidationDailyCacheInvalidationPolicyincrementExpiry

Javadoc

INTERNAL: Update the expiry time to be the day after the current day.

Popular methods of DailyCacheInvalidationPolicy

  • getExpiryTime
    INTERNAL: Get the expiry time as a Calendar. Used for setting the expiry time in deployment XML
  • setExpiryTime
    INTERNAL: Set the expiry time based on a Calendar. Used for setting the expiry time from deployment
  • <init>
    PUBLIC: Construct a daily policy that will allow objects to expire at a specific time of day. Provid

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Collectors (java.util.stream)
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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