public class FailureHandlingOptions extends Object
ThumbnailDefinition
.
Note that a failed thumbnail creation is not the same as a creation which was not attempted for lack of transformers.for a description of how these configuration parameters are used.
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PERIOD |
static boolean |
DEFAULT_QUIET_PERIOD_RETRIES_ENABLED |
static int |
DEFAULT_RETRY_COUNT |
Constructor and Description |
---|
FailureHandlingOptions() |
Modifier and Type | Method and Description |
---|---|
long |
getQuietPeriod() |
boolean |
getQuietPeriodRetriesEnabled() |
int |
getRetryCount() |
long |
getRetryPeriod() |
void |
setQuietPeriod(long quietPeriod)
Sets the minimum retry period for thumbnail creation/update.
|
void |
setQuietPeriodRetriesEnabled(boolean quietPeriodRetriesEnabled) |
void |
setRetryCount(int retryCount) |
void |
setRetryPeriod(long retryPeriod)
Sets the initial minimum retry period for thumbnail creation/update.
|
public static final int DEFAULT_PERIOD
public static final int DEFAULT_RETRY_COUNT
public static final boolean DEFAULT_QUIET_PERIOD_RETRIES_ENABLED
public int getRetryCount()
public void setRetryCount(int retryCount)
public boolean getQuietPeriodRetriesEnabled()
public void setQuietPeriodRetriesEnabled(boolean quietPeriodRetriesEnabled)
public void setRetryPeriod(long retryPeriod)
retryPeriod
- minimum retry period in ms.public long getRetryPeriod()
public void setQuietPeriod(long quietPeriod)
quietPeriod
- minimum retry period in ms.public long getQuietPeriod()
Copyright © 2005–2017 Alfresco Software. All rights reserved.