org.alfresco.repo.thumbnail
Class FailureHandlingOptions

java.lang.Object
  extended by org.alfresco.repo.thumbnail.FailureHandlingOptions

public class FailureHandlingOptions
extends java.lang.Object

This class holds failure-related configuration data for a ThumbnailDefinition.

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
See Also:
for a description of how these configuration parameters are used.

Field Summary
static int DEFAULT_PERIOD
           
static boolean DEFAULT_QUIET_PERIOD_RETRIES_ENABLED
           
static int DEFAULT_RETRY_COUNT
           
 
Constructor Summary
FailureHandlingOptions()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PERIOD

public static final int DEFAULT_PERIOD
See Also:
Constant Field Values

DEFAULT_RETRY_COUNT

public static final int DEFAULT_RETRY_COUNT
See Also:
Constant Field Values

DEFAULT_QUIET_PERIOD_RETRIES_ENABLED

public static final boolean DEFAULT_QUIET_PERIOD_RETRIES_ENABLED
See Also:
Constant Field Values
Constructor Detail

FailureHandlingOptions

public FailureHandlingOptions()
Method Detail

getRetryCount

public int getRetryCount()

setRetryCount

public void setRetryCount(int retryCount)

getQuietPeriodRetriesEnabled

public boolean getQuietPeriodRetriesEnabled()

setQuietPeriodRetriesEnabled

public void setQuietPeriodRetriesEnabled(boolean quietPeriodRetriesEnabled)

setRetryPeriod

public void setRetryPeriod(long retryPeriod)
Sets the initial minimum retry period for thumbnail creation/update.

Parameters:
initialMinimumRetryPeriod - minimum retry period in ms.

getRetryPeriod

public long getRetryPeriod()

setQuietPeriod

public void setQuietPeriod(long quietPeriod)
Sets the minimum retry period for thumbnail creation/update.

Parameters:
minimumRetryPeriodLong - minimum retry period in ms.

getQuietPeriod

public long getQuietPeriod()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.