Class ResyncOptions


  • public class ResyncOptions
    extends java.lang.Object
    ResyncOptions class contains information for the items that would be resynced after expiration from the Read-Through provider.
    • Constructor Summary

      Constructors 
      Constructor Description
      ResyncOptions​(boolean resyncOnExpiration)
      Creates an instance of ResyncOptions.
      ResyncOptions​(boolean resyncOnExpiration, java.lang.String providerName)
      Creates an instance of ResyncOptions.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getProviderName()
      Gets the Read-Through provider name with which items will be resynced at expiry.
      boolean getResyncOnExpiration()
      Gets the flag that indicates whether the items are to be resynced at expiry or not.
      void setProviderName​(java.lang.String value)
      Sets the Read-Through provider name with which items will be resynced at expiry.
      void setResyncOnExpiration​(boolean value)
      Sets the flag that indicates whether the items are to be resynced at expiry or not.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResyncOptions

        public ResyncOptions​(boolean resyncOnExpiration)
        Creates an instance of ResyncOptions.
        Parameters:
        resyncOnExpiration - Flag that specifies whether the items are to be resynced after expiration.
      • ResyncOptions

        public ResyncOptions​(boolean resyncOnExpiration,
                             java.lang.String providerName)
        Creates an instance of ResyncOptions.
        Parameters:
        resyncOnExpiration - Flag that specifies whether the items are to be resynced after expiration.
        providerName - After expiration items are resynced using the specified provider name.
    • Method Detail

      • getResyncOnExpiration

        public final boolean getResyncOnExpiration()
        Gets the flag that indicates whether the items are to be resynced at expiry or not.
        Returns:
        Resync on expiration flag.
      • setResyncOnExpiration

        public final void setResyncOnExpiration​(boolean value)
        Sets the flag that indicates whether the items are to be resynced at expiry or not.
        Parameters:
        value - Resync on expiration flag.
      • getProviderName

        public final java.lang.String getProviderName()
        Gets the Read-Through provider name with which items will be resynced at expiry.
        Returns:
        The name of the Read-Through provider.
      • setProviderName

        public final void setProviderName​(java.lang.String value)
        Sets the Read-Through provider name with which items will be resynced at expiry.
        Parameters:
        value - The name of the resync provider.