Class FileNumberComputer
- java.lang.Object
-
- org.silverpeas.core.silverstatistics.volume.service.FileNumberComputer
-
- All Implemented Interfaces:
Callable<DirectoryStats>
public class FileNumberComputer extends Object
Compute the size in terms of number of files.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectoryStats
call()
protected void
handleTransverseFile(Path file, BasicFileAttributes attrs)
protected void
setSpecificResult(DirectoryStats result, ComponentStatisticsProvider componentStatistics)
protected void
setTransverseResult(DirectoryStats result)
-
-
-
Field Detail
-
directory
protected final File directory
-
-
Method Detail
-
handleTransverseFile
protected void handleTransverseFile(Path file, BasicFileAttributes attrs)
-
setTransverseResult
protected void setTransverseResult(DirectoryStats result)
-
setSpecificResult
protected void setSpecificResult(DirectoryStats result, ComponentStatisticsProvider componentStatistics)
-
call
public final DirectoryStats call()
- Specified by:
call
in interfaceCallable<DirectoryStats>
-
-