org.silverpeas.silverstatistics.volume
Class DirectoryVolumeService
java.lang.Object
org.silverpeas.silverstatistics.volume.DirectoryVolumeService
public class DirectoryVolumeService
- extends Object
Compute the size in terms of number of files and total size of all the components available for a
specified user.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryVolumeService
public DirectoryVolumeService()
DirectoryVolumeService
public DirectoryVolumeService(File workspace)
getVolumes
public List<DirectoryStats> getVolumes(String userId)
throws InterruptedException,
ExecutionException
- Throws:
InterruptedException
ExecutionException
getTotalSize
public long getTotalSize(String userId)
throws InterruptedException,
ExecutionException
- Throws:
InterruptedException
ExecutionException
getSizeVentilation
public Map<String,String[]> getSizeVentilation(String userId)
throws InterruptedException,
ExecutionException
- Throws:
InterruptedException
ExecutionException
getFileNumberVentilation
public Map<String,String[]> getFileNumberVentilation(String userId)
throws InterruptedException,
ExecutionException
- Throws:
InterruptedException
ExecutionException
Copyright © 2016 Silverpeas. All Rights Reserved.