Package org.alfresco.repo.thumbnail
Class FailureHandlingOptions
- java.lang.Object
-
- org.alfresco.repo.thumbnail.FailureHandlingOptions
-
@Deprecated public class FailureHandlingOptions extends java.lang.ObjectDeprecated.The thumbnails code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.This class holds failure-related configuration data for aThumbnailDefinition. Note that a failed thumbnail creation is not the same as a creation which was not attempted for lack of transformers.- Since:
- 3.5.0
- Author:
- Neil Mc Erlean
- See Also:
for a description of how these configuration parameters are used.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_PERIODDeprecated.static booleanDEFAULT_QUIET_PERIOD_RETRIES_ENABLEDDeprecated.static intDEFAULT_RETRY_COUNTDeprecated.
-
Constructor Summary
Constructors Constructor Description FailureHandlingOptions()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description longgetQuietPeriod()Deprecated.booleangetQuietPeriodRetriesEnabled()Deprecated.intgetRetryCount()Deprecated.longgetRetryPeriod()Deprecated.voidsetQuietPeriod(long quietPeriod)Deprecated.Sets the minimum retry period for thumbnail creation/update.voidsetQuietPeriodRetriesEnabled(boolean quietPeriodRetriesEnabled)Deprecated.voidsetRetryCount(int retryCount)Deprecated.voidsetRetryPeriod(long retryPeriod)Deprecated.Sets the initial minimum retry period for thumbnail creation/update.
-
-
-
Field Detail
-
DEFAULT_PERIOD
public static final int DEFAULT_PERIOD
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_RETRY_COUNT
public static final int DEFAULT_RETRY_COUNT
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_QUIET_PERIOD_RETRIES_ENABLED
public static final boolean DEFAULT_QUIET_PERIOD_RETRIES_ENABLED
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getRetryCount
public int getRetryCount()
Deprecated.
-
setRetryCount
public void setRetryCount(int retryCount)
Deprecated.
-
getQuietPeriodRetriesEnabled
public boolean getQuietPeriodRetriesEnabled()
Deprecated.
-
setQuietPeriodRetriesEnabled
public void setQuietPeriodRetriesEnabled(boolean quietPeriodRetriesEnabled)
Deprecated.
-
setRetryPeriod
public void setRetryPeriod(long retryPeriod)
Deprecated.Sets the initial minimum retry period for thumbnail creation/update.- Parameters:
retryPeriod- minimum retry period in ms.
-
getRetryPeriod
public long getRetryPeriod()
Deprecated.
-
setQuietPeriod
public void setQuietPeriod(long quietPeriod)
Deprecated.Sets the minimum retry period for thumbnail creation/update.- Parameters:
quietPeriod- minimum retry period in ms.
-
getQuietPeriod
public long getQuietPeriod()
Deprecated.
-
-