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 intglobalInUseTallyprotected intglobalTargetTallyprotected intnumServicesprotected java.lang.StringserviceName-
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 booleanacceptServiceData(java.lang.String serviceName, byte[] serviceData)Accept service data.intgetGlobalInUse()intgetGlobalTarget()intgetNumServices()
-
-
-
Method Detail
-
acceptServiceData
public boolean acceptServiceData(java.lang.String serviceName, byte[] serviceData) throws ManifoldCFExceptionDescription copied from interface:IServiceDataAcceptorAccept service data.- Specified by:
acceptServiceDatain 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()
-
-