org.alfresco.repo.content.cleanup
Class ContentStoreCleaner.DeleteFailureAction

java.lang.Object
  extended by java.lang.Enum
      extended by org.alfresco.repo.content.cleanup.ContentStoreCleaner.DeleteFailureAction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
ContentStoreCleaner

public static final class ContentStoreCleaner.DeleteFailureAction
extends java.lang.Enum

Enumeration of actions to take in the even that an orphaned binary fails to get deleted. Most stores are able to delete orphaned content, but it is possible that stores have protection against binary deletion that is outside of the Alfresco server's control.

Since:
3.3.5
See Also:
Serialized Form

Field Summary
static ContentStoreCleaner.DeleteFailureAction IGNORE
          Failure to clean up a binary is logged, but the URL is discarded for good i.e.
static ContentStoreCleaner.DeleteFailureAction KEEP_URL
          Failure to clean up the binary is logged and then a URL record is created with a orphan time of 0; there will be no further attempts to delete the URL binary, but the record will also not be destroyed.
 
Method Summary
static ContentStoreCleaner.DeleteFailureAction valueOf(java.lang.String name)
           
static ContentStoreCleaner.DeleteFailureAction[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

IGNORE

public static final ContentStoreCleaner.DeleteFailureAction IGNORE
Failure to clean up a binary is logged, but the URL is discarded for good i.e. there will be no further attempt to clean up the binary or any remaining record of its existence.


KEEP_URL

public static final ContentStoreCleaner.DeleteFailureAction KEEP_URL
Failure to clean up the binary is logged and then a URL record is created with a orphan time of 0; there will be no further attempts to delete the URL binary, but the record will also not be destroyed.

Method Detail

values

public static ContentStoreCleaner.DeleteFailureAction[] values()

valueOf

public static ContentStoreCleaner.DeleteFailureAction valueOf(java.lang.String name)


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