Package com.jalios.jcms.quota
Class WorkspaceFileSizeResult
- java.lang.Object
 - 
- com.jalios.jcms.quota.WorkspaceFileSizeResult
 
 
- 
public class WorkspaceFileSizeResult extends java.lang.Object 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected ObjectLongTreeMapfileSizeMapprotected ObjectLongTreeMapfileSizeMapWithSatelliteprotected Workspaceworkspace 
- 
Constructor Summary
Constructors Constructor Description WorkspaceFileSizeResult() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ObjectLongTreeMapgetFileSizeMap()Retrieve a the file analyzis information for the current Workspace.ObjectLongTreeMapgetFileSizeMapWithSatellite()Retrieve a the file analyzis information for the current Workspace.WorkspacegetWorkspace()voidincrementFileSize(java.lang.String contentType, long increment)Increment the filesize analysis for the specified key.voidincrementFileSizeWithSatellite(java.lang.String contentType, long increment)Increment the filesize analysis for the specified contentType.voidsetFileSizeMap(ObjectLongTreeMap fileSizeMap)Deprecated.voidsetFileSizeMapWithSatellite(ObjectLongTreeMap fileSizeMapWithSatellite)Deprecated.voidsetWorkspace(Workspace workspace) 
 - 
 
- 
- 
Field Detail
- 
workspace
protected Workspace workspace
 
- 
fileSizeMap
protected ObjectLongTreeMap fileSizeMap
 
- 
fileSizeMapWithSatellite
protected ObjectLongTreeMap fileSizeMapWithSatellite
 
 - 
 
- 
Method Detail
- 
getWorkspace
public Workspace getWorkspace()
 
- 
setWorkspace
public void setWorkspace(Workspace workspace)
 
- 
getFileSizeMap
public ObjectLongTreeMap getFileSizeMap()
Retrieve a the file analyzis information for the current Workspace.This method retrieve a the underlying
ObjectLongTreeMapwhich is NOT thread safe.
Always synchronize iteration or modification on the returned map.- Returns:
 - a 
ObjectLongTreeMapinstance, never return null 
 
- 
setFileSizeMap
@Deprecated public void setFileSizeMap(ObjectLongTreeMap fileSizeMap)
Deprecated. 
- 
incrementFileSize
public void incrementFileSize(java.lang.String contentType, long increment)Increment the filesize analysis for the specified key.This method is thread safe.
- Parameters:
 contentType- the content type for which increment operation is performedincrement- the increment value- Since:
 - jcms-10.0.3
 
 
- 
getFileSizeMapWithSatellite
public ObjectLongTreeMap getFileSizeMapWithSatellite()
Retrieve a the file analyzis information for the current Workspace.This method retrieve a the underlying
ObjectLongTreeMapwhich is NOT thread safe.
Always synchronize iteration or modification on the returned map.- Returns:
 - a 
ObjectLongTreeMapinstance, never return null 
 
- 
setFileSizeMapWithSatellite
@Deprecated public void setFileSizeMapWithSatellite(ObjectLongTreeMap fileSizeMapWithSatellite)
Deprecated. 
- 
incrementFileSizeWithSatellite
public void incrementFileSizeWithSatellite(java.lang.String contentType, long increment)Increment the filesize analysis for the specified contentType.This method is thread safe.
- Parameters:
 contentType- the content type for which increment operation is performedincrement- the increment value- Since:
 - jcms-10.0.3
 
 
 - 
 
 -