Class ConnectionBin.SumClass
- java.lang.Object
-
- org.apache.manifoldcf.connectorcommon.throttler.ConnectionBin.SumClass
-
- All Implemented Interfaces:
IServiceDataAcceptor
- Enclosing class:
- ConnectionBin
protected static class ConnectionBin.SumClass extends java.lang.Object implements IServiceDataAcceptor
-
-
Field Summary
Fields Modifier and Type Field Description protected int
globalInUseTally
protected int
globalTargetTally
protected int
numServices
protected java.lang.String
serviceName
-
Fields inherited from interface org.apache.manifoldcf.core.interfaces.IServiceDataAcceptor
_rcsid
-
-
Constructor Summary
Constructors Constructor Description SumClass(java.lang.String serviceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptServiceData(java.lang.String serviceName, byte[] serviceData)
Accept service data.int
getGlobalInUse()
int
getGlobalTarget()
int
getNumServices()
-
-
-
Method Detail
-
acceptServiceData
public boolean acceptServiceData(java.lang.String serviceName, byte[] serviceData) throws ManifoldCFException
Description copied from interface:IServiceDataAcceptor
Accept service data.- Specified by:
acceptServiceData
in interfaceIServiceDataAcceptor
- Parameters:
serviceName
- is the name of the service that owns the data.serviceData
- is the actual data that is owned.- Returns:
- true to abort the scan.
- Throws:
ManifoldCFException
-
getNumServices
public int getNumServices()
-
getGlobalTarget
public int getGlobalTarget()
-
getGlobalInUse
public int getGlobalInUse()
-
-