fferpcore.ihcc_IProcessLimitsglobal interface ihcc_IProcessLimits Interface representing the limits available to an integration to process the messages passed to it. Note that these limits may be different to what is reported in the Limits class: ihcc may reserve some limits for it's own use or may have used some limits before calling to the integration. This is designed to be used with the ihcc wrappers that will throw catchable exceptions if these limits are going to be breached Methods
getCalloutsInteger getCallouts() Returns the number of callouts that have been processed. This number will not include any callouts made before the integration is called. Return ValueThe number of callouts that have been processed by the integration. getLimitCalloutsInteger getLimitCallouts() Returns the total number of callouts that can be procesed. This is the number of callouts available to the integration: any callouts required by the framework are already taken into account. Return ValueThe number of callouts available to the integration. calloutMayBeMadeBoolean calloutMayBeMade() Returns true if another callout can be made without causing an exception to be thrown. Return ValueTrue if getCallouts()<getLimitCallouts() getDMLStatementsInteger getDMLStatements() Returns the number of DML statements that have been processed. This number will not include any statements made before the integration is called. Return ValueThe number of DML statements that have been processed by the integration. getLimitDMLStatementsInteger getLimitDMLStatements() Returns the total number of DML statements that can be procesed. This is the number of DML statements available to the integration: any DML statements required by the framework are already taken into account. Return ValueThe number of DML statements available to the integration. dmlStatementMayBeMadeBoolean dmlStatementMayBeMade() Returns true if another DML statement can be made without causing an exception to be thrown. Return ValueTrue if getDMLStatements()<getLimitDMLStatements() |