Package jenkins.plugins.jobcacher
Class Cache.DirectorySize
- java.lang.Object
-
- jenkins.MasterToSlaveFileCallable<Long>
-
- jenkins.plugins.jobcacher.Cache.DirectorySize
-
- All Implemented Interfaces:
FilePath.FileCallable<Long>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
- Enclosing class:
- Cache
public static class Cache.DirectorySize extends MasterToSlaveFileCallable<Long>
Utility class to calculate the size of a potentially remote directory given a pattern and excludes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DirectorySize(String glob, String excludes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
invoke(File f, hudson.remoting.VirtualChannel channel)
-
Methods inherited from class jenkins.MasterToSlaveFileCallable
checkRoles
-
-
-
-
Method Detail
-
invoke
public Long invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException
- Throws:
IOException
-
-