Class FetchBin.SumClass
- java.lang.Object
-
- org.apache.manifoldcf.connectorcommon.throttler.FetchBin.SumClass
-
- All Implemented Interfaces:
IServiceDataAcceptor
- Enclosing class:
- FetchBin
protected static class FetchBin.SumClass extends java.lang.Object implements IServiceDataAcceptor
-
-
Field Summary
Fields Modifier and Type Field Description protected long
earliestTime
protected double
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.long
getEarliestTime()
double
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 double getGlobalTarget()
-
getEarliestTime
public long getEarliestTime()
-
-