public class JcmsCleanFilter extends java.lang.Object implements CleanFilter, StoreConstants
Modifier and Type | Field and Description |
---|---|
protected Stamp |
beginStamp |
protected long |
beginTime |
protected Channel |
channel |
protected java.util.Set<java.lang.String> |
createSet |
protected Stamp |
endStamp |
protected long |
endTime |
protected boolean |
mergeMajorUpdate |
protected boolean |
mergeMetadataUpdate |
protected boolean |
mergeMinorUpdate |
static java.util.HashSet |
metadataAttributeSet |
protected boolean |
removeDeleted |
protected boolean |
removeMilestone |
static java.lang.String |
REVISION |
protected java.util.Set |
uridSet |
protected java.util.Map<java.lang.String,Workspace> |
wsMap |
protected java.util.Set<Workspace> |
wsSet |
ARRAY_FLAG, CLEANING_STATE, COLLECTION_FLAG, CREATE_OP, DELETE_OP, IDLE_STATE, INNER_LOGS, INNER_MILESTONE, INNER_PREFIX, INNER_SYNC, ITEM_ESCAPE_CHAR, ITEM_SEPARATOR, LOADING_STATE, MAP_ASSIGN, MAP_CHARS_TO_ESCAPE, MAP_CLASS_SEPARATOR, MAP_FLAG, NAMESPACE, SH_SUFFIX, STORING_STATE, UPDATE_OP
Constructor and Description |
---|
JcmsCleanFilter() |
Modifier and Type | Method and Description |
---|---|
void |
cleanMergeMap(java.util.Map mergeMap)
This method is called to clean the merge map.
|
boolean |
isCleanable(InnerLogEntry entry)
Returns true if the entry can be cleaned or false otherwise.
|
boolean |
isCleanable(StorableLogEntry entry,
java.lang.Class clazz)
Returns true if the entry can be cleaned or false otherwise.
|
void |
setBeginStamp(Stamp startStamp) |
void |
setBeginTime(long startTime) |
void |
setEndStamp(Stamp endStamp) |
void |
setEndTime(long endTime) |
void |
setMergeMajorUpdate(boolean v) |
void |
setMergeMetadataUpdate(boolean v) |
void |
setMergeMinorUpdate(boolean v) |
void |
setRemoveDeleted(boolean v) |
void |
setRemoveMilestone(boolean v) |
void |
setUridSet(java.util.Set uridSet) |
void |
setWorkspaceSet(java.util.Set wsSet) |
java.lang.String |
toString() |
public static final java.lang.String REVISION
protected Channel channel
protected long beginTime
protected long endTime
protected Stamp beginStamp
protected Stamp endStamp
protected boolean removeDeleted
protected boolean mergeMinorUpdate
protected boolean mergeMetadataUpdate
protected boolean mergeMajorUpdate
protected java.util.Set uridSet
protected boolean removeMilestone
protected java.util.Set<Workspace> wsSet
protected java.util.Map<java.lang.String,Workspace> wsMap
protected java.util.Set<java.lang.String> createSet
public static final java.util.HashSet metadataAttributeSet
public boolean isCleanable(StorableLogEntry entry, java.lang.Class clazz)
CleanFilter
isCleanable
in interface CleanFilter
entry
- the entry to be checkedclazz
- the class of which this entry is appliedpublic void cleanMergeMap(java.util.Map mergeMap)
CleanFilter
cleanMergeMap
in interface CleanFilter
mergeMap
- the merge mappublic boolean isCleanable(InnerLogEntry entry)
CleanFilter
isCleanable
in interface CleanFilter
entry
- the entry to be checkedpublic java.lang.String toString()
toString
in class java.lang.Object
public void setBeginStamp(Stamp startStamp)
public void setBeginTime(long startTime)
public void setEndStamp(Stamp endStamp)
public void setEndTime(long endTime)
public void setRemoveDeleted(boolean v)
public void setMergeMinorUpdate(boolean v)
public void setMergeMetadataUpdate(boolean v)
public void setMergeMajorUpdate(boolean v)
public void setUridSet(java.util.Set uridSet)
public void setRemoveMilestone(boolean v)
public void setWorkspaceSet(java.util.Set wsSet)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.