public class WorkspaceFileAnalyzer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ObjectLongTreeMap |
fileSizeMap |
protected ObjectLongTreeMap |
fileSizeMapWithSatellite |
protected Workspace |
workspace |
Constructor and Description |
---|
WorkspaceFileAnalyzer() |
Modifier and Type | Method and Description |
---|---|
ObjectLongTreeMap |
getFileSizeMap()
Retrieve a the file analyzis information for the current Workspace.
|
ObjectLongTreeMap |
getFileSizeMapWithSatellite()
Retrieve a the file analyzis information for the current Workspace.
|
Workspace |
getWorkspace() |
void |
incrementFileSize(java.lang.String contentType,
long increment)
Increment the filesize analysis for the specified contentType.
|
void |
incrementFileSizeWithSatellite(java.lang.String contentType,
long increment)
Increment the filesize analysis for the specified contentType.
|
void |
setFileSizeMap(ObjectLongTreeMap fileSizeMap)
Deprecated.
|
void |
setFileSizeMapWithSatellite(ObjectLongTreeMap fileSizeMapWithSatellite)
Deprecated.
|
void |
setWorkspace(Workspace workspace) |
protected Workspace workspace
protected ObjectLongTreeMap fileSizeMap
protected ObjectLongTreeMap fileSizeMapWithSatellite
public Workspace getWorkspace()
public void setWorkspace(Workspace workspace)
public ObjectLongTreeMap getFileSizeMap()
This method retrieve a the underlying ObjectLongTreeMap
which is NOT thread safe.
Always synchronize iteration or modification on the returned map.
ObjectLongTreeMap
instance, never return null@Deprecated public void setFileSizeMap(ObjectLongTreeMap fileSizeMap)
public void incrementFileSize(java.lang.String contentType, long increment)
This method is thread safe.
contentType
- the contentType for which increment operation is performedincrement
- the increment valuepublic ObjectLongTreeMap getFileSizeMapWithSatellite()
This method retrieve a the underlying ObjectLongTreeMap
which is NOT thread safe.
Always synchronize iteration or modification on the returned map.
ObjectLongTreeMap
instance, never return null@Deprecated public void setFileSizeMapWithSatellite(ObjectLongTreeMap fileSizeMapWithSatellite)
public void incrementFileSizeWithSatellite(java.lang.String contentType, long increment)
This method is thread safe.
contentType
- the contentType for which increment operation is performedincrement
- the increment valueCopyright © 2001-2018 Jalios SA. All Rights Reserved.