congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
DailyCacheInvalidationPolicy.setExpiryTime
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * PUBLIC:
 * Construct a daily policy that will allow objects to expire at a specific time of day.
 * Provide the hour, minute, second and millisecond.  Objects that make use of this policy
 * will be set to expire at that exact time every day.
 */
public DailyCacheInvalidationPolicy(int hour, int minute, int second, int millisecond) {
  setExpiryTime(hour, minute, second, millisecond);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * PUBLIC:
 * Construct a daily policy that will allow objects to expire at a specific time of day.
 * Provide the hour, minute, second and millisecond.  Objects that make use of this policy
 * will be set to expire at that exact time every day.
 */
public DailyCacheInvalidationPolicy(int hour, int minute, int second, int millisecond) {
  setExpiryTime(hour, minute, second, millisecond);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * PUBLIC:
 * Construct a daily policy that will allow objects to expire at a specific time of day.
 * Provide the hour, minute, second and millisecond.  Objects that make use of this policy
 * will be set to expire at that exact time every day.
 */
public DailyCacheInvalidationPolicy(int hour, int minute, int second, int millisecond) {
  setExpiryTime(hour, minute, second, millisecond);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Set the expiry time based on a Calendar. Used for setting the expiry time from
 * deployment XML.
 */
public void setExpiryTime(Calendar calendar) {
  setExpiryTime(calendar.get(Calendar.HOUR_OF_DAY), calendar.get(Calendar.MINUTE), calendar.get(Calendar.SECOND), calendar.get(Calendar.MILLISECOND));
}
 
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

  /**
   * INTERNAL:
   * Set the expiry time based on a Calendar. Used for setting the expiry time from
   * deployment XML.
   */
  public void setExpiryTime(Calendar calendar) {
    setExpiryTime(calendar.get(Calendar.HOUR_OF_DAY), calendar.get(Calendar.MINUTE), calendar.get(Calendar.SECOND), calendar.get(Calendar.MILLISECOND));
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Set the expiry time based on a Calendar. Used for setting the expiry time from
 * deployment XML.
 */
public void setExpiryTime(Calendar calendar) {
  setExpiryTime(calendar.get(Calendar.HOUR_OF_DAY), calendar.get(Calendar.MINUTE), calendar.get(Calendar.SECOND), calendar.get(Calendar.MILLISECOND));
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

  public Object clone() {
    DailyCacheInvalidationPolicy clone = null;

    try {
      clone = (DailyCacheInvalidationPolicy)super.clone();
      if (this.expiryTime != null) {
        clone.setExpiryTime((Calendar)this.expiryTime.clone());
      }
      if (this.previousExpiry != null) {
        clone.previousExpiry = (Calendar)this.previousExpiry.clone();
      }
    } catch (Exception exception) {
      throw new InternalError("clone failed");
    }

    return clone;
  }
}
origin: com.haulmont.thirdparty/eclipselink

  public Object clone() {
    DailyCacheInvalidationPolicy clone = null;
    
    try {
      clone = (DailyCacheInvalidationPolicy)super.clone();
      if (this.expiryTime != null) {
        clone.setExpiryTime((Calendar)this.expiryTime.clone());
      }
      if (this.previousExpiry != null) {
        clone.previousExpiry = (Calendar)this.previousExpiry.clone();
      }
    } catch (Exception exception) {
      throw new InternalError("clone failed");
    }
    
    return clone;
  }
}
org.eclipse.persistence.descriptors.invalidationDailyCacheInvalidationPolicysetExpiryTime

Javadoc

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.

Popular methods of DailyCacheInvalidationPolicy

  • getExpiryTime
    INTERNAL: Get the expiry time as a Calendar. Used for setting the expiry time in deployment XML
  • incrementExpiry
    INTERNAL: Update the expiry time to be the day after the current day.
  • <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
  • getResourceAsStream (ClassLoader)
  • setScale (BigDecimal)
  • getExternalFilesDir (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JList (javax.swing)
  • 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