public class LivelinkConnector extends BaseRepositoryConnector
| Modifier and Type | Class and Description |
|---|---|
protected class |
LivelinkConnector.CategoryPathAccumulator
This class caches the category path strings associated with a given category object identifier.
|
protected class |
LivelinkConnector.DocumentReadingThread
This thread performs a LAPI FetchVersion command, streaming the resulting
document back through a XThreadInputStream to the invoking thread.
|
protected static class |
LivelinkConnector.ExecuteMethodThread
This thread does the actual socket communication with the server.
|
protected class |
LivelinkConnector.GetAttributeValueThread |
protected class |
LivelinkConnector.GetCategoryAttributesThread |
protected class |
LivelinkConnector.GetCategoryVersionThread |
protected class |
LivelinkConnector.GetObjectCategoryIDsThread |
protected class |
LivelinkConnector.GetObjectInfoThread
Thread we can abandon that gets object information for a volume and an id.
|
protected class |
LivelinkConnector.GetObjectRightsThread |
protected class |
LivelinkConnector.GetSessionThread |
protected class |
LivelinkConnector.GetUserInfoThread
Thread we can abandon that gets user information for a userID.
|
protected class |
LivelinkConnector.GetVersionInfoThread
Thread we can abandon that gets version information for a volume and an id and a revision.
|
protected class |
LivelinkConnector.ListObjectsThread |
protected class |
LivelinkConnector.ListUsersThread
Thread we can abandon that lists all users (except admin).
|
protected class |
LivelinkConnector.LivelinkContext
Local cache for various kinds of objects that may be useful more than once.
|
protected class |
LivelinkConnector.MetadataDescription
Class that manages to find catid's and attribute names that have been specified.
|
protected static class |
LivelinkConnector.MetadataItem
Class that describes a metadata catid and attribute set.
|
protected static class |
LivelinkConnector.MetadataPathItem
Class that describes a metadata catid and path.
|
protected class |
LivelinkConnector.ObjectInformation
This object represents an object information cache.
|
protected class |
LivelinkConnector.RootValue
Class representing a root value object, plus remainder string.
|
protected class |
LivelinkConnector.SystemMetadataDescription
Class that tracks paths associated with nodes, and also keeps track of the name
of the metadata attribute to use for the path.
|
protected class |
LivelinkConnector.UserInformation
This object represents a cache of user information.
|
protected class |
LivelinkConnector.VersionInformation
This object represents a cache of version information.
|
protected static class |
LivelinkConnector.VolumeAndId
Class for returning volume id/folder id combination on path lookup.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
_rcsid |
protected static String |
CATEGORY_NAME |
protected static String |
ENTWKSPACE_NAME |
protected static String |
GENERAL_CREATIONDATE_FIELD |
protected static String |
GENERAL_CREATOR |
protected static String |
GENERAL_DESCRIPTION_FIELD |
protected static String |
GENERAL_MODIFIER |
protected static String |
GENERAL_MODIFYDATE_FIELD |
protected static String |
GENERAL_NAME_FIELD |
protected static String |
GENERAL_OWNER |
protected static String |
GENERAL_PARENTID |
currentContext, paramsGLOBAL_DENY_TOKEN, JOBMODE_CONTINUOUS, JOBMODE_ONCEONLY, MODEL_ADD, MODEL_ADD_CHANGE, MODEL_ADD_CHANGE_DELETE, MODEL_ALL, MODEL_CHAINED_ADD, MODEL_CHAINED_ADD_CHANGE, MODEL_CHAINED_ADD_CHANGE_DELETE, MODEL_PARTIAL| Constructor and Description |
|---|
LivelinkConnector()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
addSeedDocuments(ISeedingActivity activities,
Specification spec,
String lastSeedVersion,
long seedTime,
int jobMode)
Queue "seed" documents.
|
protected static int |
assessRetry(int sanityRetryCount,
ManifoldCFException e)
Do a retry, or throw an exception if the retry count has been exhausted
|
String |
check()
Check status of connection.
|
protected static boolean |
checkInclude(String filename,
Specification documentSpecification)
Check if a file or directory should be included, given a document specification.
|
protected boolean |
checkIngest(LivelinkConnector.LivelinkContext llc,
int objID,
Specification documentSpecification)
Check if a file should be ingested, given a document specification.
|
protected static boolean |
checkMatch(String sourceMatch,
int sourceIndex,
String match)
Check a match between two strings with wildcards.
|
void |
connect(ConfigParams configParams)
Connect.
|
protected String |
convertToIngestURI(String documentIdentifier)
Convert a document identifier to a relative URI to read data from.
|
protected String |
convertToViewURI(String documentIdentifier)
Convert a document identifier to a URI to view.
|
protected String |
createLivelinkLoginURI()
Create the login URI.
|
void |
disconnect()
Close the connection.
|
protected static int |
executeMethodViaThread(org.apache.http.client.HttpClient client,
org.apache.http.client.methods.HttpRequestBase executeMethod) |
String[] |
getActivitiesList()
List the activities we might report on.
|
protected String[] |
getAttributeValue(com.opentext.api.LLValue categoryVersion,
String attributeName)
Get an attribute value from a category version.
|
String[] |
getBinNames(String documentIdentifier)
Get the bin name string for a document identifier.
|
protected String[] |
getCategoryAttributes(int catObjectID)
Given a category path, get a list of legal attribute names.
|
protected String[] |
getCategoryAttributes(LivelinkConnector.LivelinkContext llc,
String pathString) |
String[] |
getCategoryAttributes(String pathString)
Given a category path, get a list of legal attribute names.
|
protected int |
getCategoryId(LivelinkConnector.RootValue rv)
Rootvalue version of getCategoryId.
|
protected com.opentext.api.LLValue |
getCatVersion(int objID,
int catID)
Get a category version for document.
|
protected String[] |
getChildCategories(LivelinkConnector.LivelinkContext llc,
String pathString)
Given a path string, get a list of categories under that node.
|
String[] |
getChildCategoryNames(String pathString)
Given a path string, get a list of categories under that node.
|
String[] |
getChildFolderNames(String pathString)
Given a path string, get a list of folders and projects under that node.
|
protected String[] |
getChildFolders(LivelinkConnector.LivelinkContext llc,
String pathString)
Given a path string, get a list of folders and projects under that node.
|
int |
getConnectorModel()
Tell the world what model this connector uses for getDocumentIdentifiers().
|
String |
getFormCheckJavascriptMethodName(int connectionSequenceNumber)
Obtain the name of the form check javascript method to call.
|
String |
getFormPresaveCheckJavascriptMethodName(int connectionSequenceNumber)
Obtain the name of the form presave check javascript method to call.
|
protected org.apache.http.HttpHost |
getHost() |
protected org.apache.http.client.HttpClient |
getInitializedClient(String contextMsg)
Initialize a livelink client connection
|
int |
getMaxDocumentRequest()
Get the maximum number of documents to amalgamate together into one batch, for this connector.
|
protected int[] |
getObjectCategoryIDs(int vol,
int id)
Get category IDs associated with an object.
|
protected int[] |
getObjectRights(int vol,
int objID)
Get an object's rights.
|
protected LivelinkConnector.VolumeAndId |
getPathId(LivelinkConnector.RootValue rv)
RootValue version of getPathId.
|
protected void |
getSession() |
protected void |
getSessionParameters() |
String[] |
getWorkspaceNames()
Get the allowed workspace names.
|
protected static void |
handleHttpException(String contextMsg,
org.apache.http.HttpException e) |
protected static void |
handleIOException(String contextMsg,
IOException e) |
protected int |
handleLivelinkRuntimeException(RuntimeException e,
int sanityRetryCount,
boolean failIfTimeout)
Interpret runtimeexception to search for livelink API errors.
|
protected void |
ingestFromLiveLink(LivelinkConnector.LivelinkContext llc,
String documentIdentifier,
String version,
String[] actualAcls,
String[] denyAcls,
String[] categoryPaths,
IProcessActivity activities,
LivelinkConnector.MetadataDescription desc,
LivelinkConnector.SystemMetadataDescription sDesc)
Connects to the specified Livelink document using HTTP protocol
|
boolean |
isConnected()
This method is called to assess whether to count this connector instance should
actually be counted as being connected.
|
protected String[] |
lookupTokens(int[] rights,
LivelinkConnector.ObjectInformation objInfo)
Build a set of actual acls given a set of rights
|
void |
outputConfigurationBody(IThreadContext threadContext,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
String tabName)
Output the configuration body section.
|
void |
outputConfigurationHeader(IThreadContext threadContext,
IHTTPOutput out,
Locale locale,
ConfigParams parameters,
List<String> tabsArray)
Output the configuration header section.
|
void |
outputSpecificationBody(IHTTPOutput out,
Locale locale,
Specification ds,
int connectionSequenceNumber,
int actualSequenceNumber,
String tabName)
Output the specification body section.
|
void |
outputSpecificationHeader(IHTTPOutput out,
Locale locale,
Specification ds,
int connectionSequenceNumber,
List<String> tabsArray)
Output the specification header section.
|
protected static String |
packCategoryAttribute(String category,
String attribute)
Pack category and attribute
|
void |
poll()
This method is periodically called for all connectors that are connected but not
in active use.
|
protected static boolean |
processCheck(boolean caseSensitive,
String sourceMatch,
int sourceIndex,
String match,
int matchIndex)
Recursive worker method for checkMatch.
|
String |
processConfigurationPost(IThreadContext threadContext,
IPostParameters variableContext,
Locale locale,
ConfigParams parameters)
Process a configuration post.
|
void |
processDocuments(String[] documentIdentifiers,
IExistingVersions statuses,
Specification spec,
IProcessActivity activities,
int jobMode,
boolean usesDefaultAuthority)
Process a set of documents.
|
String |
processSpecificationPost(IPostParameters variableContext,
Locale locale,
Specification ds,
int connectionSequenceNumber)
Process a specification post.
|
boolean |
requestInfo(Configuration output,
String command)
Request arbitrary connector information.
|
protected static void |
unpackCategoryAttribute(StringBuilder category,
StringBuilder attribute,
String value)
Unpack category and attribute
|
void |
viewConfiguration(IThreadContext threadContext,
IHTTPOutput out,
Locale locale,
ConfigParams parameters)
View configuration.
|
void |
viewSpecification(IHTTPOutput out,
Locale locale,
Specification ds,
int connectionSequenceNumber)
View specification.
|
addSeedDocuments, addSeedDocuments, addSeedDocuments, getDocumentIdentifiers, getDocumentIdentifiers, getDocumentVersions, getDocumentVersions, getDocumentVersions, getDocumentVersions, getDocumentVersions, getDocumentVersions, getDocumentVersions, getRelationshipTypes, getRemainingDocumentIdentifiers, outputSpecificationBody, outputSpecificationBody, outputSpecificationHeader, outputSpecificationHeader, outputSpecificationHeader, processDocuments, processDocuments, processDocuments, processDocuments, processSpecificationPost, processSpecificationPost, releaseDocumentVersions, releaseDocumentVersions, viewSpecification, viewSpecificationclearThreadContext, deinstall, getConfiguration, install, outputConfigurationBody, outputConfigurationHeader, outputConfigurationHeader, pack, packFixedList, packList, packList, processConfigurationPost, setThreadContext, unpack, unpackFixedList, unpackList, viewConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearThreadContext, deinstall, getConfiguration, install, setThreadContextpublic static final String _rcsid
protected static final String GENERAL_NAME_FIELD
protected static final String GENERAL_DESCRIPTION_FIELD
protected static final String GENERAL_CREATIONDATE_FIELD
protected static final String GENERAL_MODIFYDATE_FIELD
protected static final String GENERAL_OWNER
protected static final String GENERAL_CREATOR
protected static final String GENERAL_MODIFIER
protected static final String GENERAL_PARENTID
protected static final String CATEGORY_NAME
protected static final String ENTWKSPACE_NAME
public int getConnectorModel()
getConnectorModel in interface IRepositoryConnectorgetConnectorModel in class BaseRepositoryConnectorpublic void connect(ConfigParams configParams)
connect in interface IConnectorconnect in class BaseConnectorconfigParams - are the configuration parameters for this connection.public String[] getBinNames(String documentIdentifier)
getBinNames in interface IRepositoryConnectorgetBinNames in class BaseRepositoryConnectordocumentIdentifier - is the document identifier.protected org.apache.http.HttpHost getHost()
protected void getSessionParameters()
throws ManifoldCFException
ManifoldCFExceptionprotected void getSession()
throws ManifoldCFException,
ServiceInterruption
protected static int executeMethodViaThread(org.apache.http.client.HttpClient client,
org.apache.http.client.methods.HttpRequestBase executeMethod)
throws InterruptedException,
org.apache.http.HttpException,
IOException
InterruptedExceptionorg.apache.http.HttpExceptionIOExceptionpublic String check() throws ManifoldCFException
check in interface IConnectorcheck in class BaseConnectorManifoldCFExceptionpublic void poll()
throws ManifoldCFException
poll in interface IConnectorpoll in class BaseConnectorManifoldCFExceptionpublic boolean isConnected()
isConnected in interface IConnectorisConnected in class BaseConnectorpublic void disconnect()
throws ManifoldCFException
disconnect in interface IConnectordisconnect in class BaseConnectorManifoldCFExceptionpublic String[] getActivitiesList()
getActivitiesList in interface IRepositoryConnectorgetActivitiesList in class BaseRepositoryConnectorprotected String convertToIngestURI(String documentIdentifier) throws ManifoldCFException
documentIdentifier - is the document identifier.ManifoldCFExceptionprotected String convertToViewURI(String documentIdentifier) throws ManifoldCFException
documentIdentifier - is the document identifier.ManifoldCFExceptionpublic boolean requestInfo(Configuration output, String command) throws ManifoldCFException
requestInfo in interface IRepositoryConnectorrequestInfo in class BaseRepositoryConnectoroutput - is the response object, to be filled in by this method.command - is the command, which is taken directly from the API request.ManifoldCFExceptionpublic String addSeedDocuments(ISeedingActivity activities, Specification spec, String lastSeedVersion, long seedTime, int jobMode) throws ManifoldCFException, ServiceInterruption
addSeedDocuments in interface IRepositoryConnectoraddSeedDocuments in class BaseRepositoryConnectoractivities - is the interface this method should use to perform whatever framework actions are desired.spec - is a document specification (that comes from the job).seedTime - is the end of the time range of documents to consider, exclusive.lastSeedVersionString - is the last seeding version string for this job, or null if the job has no previous seeding version string.jobMode - is an integer describing how the job is being run, whether continuous or once-only.ManifoldCFExceptionServiceInterruptionpublic void processDocuments(String[] documentIdentifiers, IExistingVersions statuses, Specification spec, IProcessActivity activities, int jobMode, boolean usesDefaultAuthority) throws ManifoldCFException, ServiceInterruption
processDocuments in interface IRepositoryConnectorprocessDocuments in class BaseRepositoryConnectordocumentIdentifiers - is the set of document identifiers to process.statuses - are the currently-stored document versions for each document in the set of document identifiers
passed in above.activities - is the interface this method should use to queue up new document references
and ingest documents.jobMode - is an integer describing how the job is being run, whether continuous or once-only.usesDefaultAuthority - will be true only if the authority in use for these documents is the default one.ManifoldCFExceptionServiceInterruptionpublic int getMaxDocumentRequest()
getMaxDocumentRequest in interface IRepositoryConnectorgetMaxDocumentRequest in class BaseRepositoryConnectorpublic void outputConfigurationHeader(IThreadContext threadContext, IHTTPOutput out, Locale locale, ConfigParams parameters, List<String> tabsArray) throws ManifoldCFException, IOException
outputConfigurationHeader in interface IConnectoroutputConfigurationHeader in class BaseConnectorthreadContext - is the local thread context.out - is the output to which any HTML should be sent.parameters - are the configuration parameters, as they currently exist, for this connection being configured.tabsArray - is an array of tab names. Add to this array any tab names that are specific to the connector.ManifoldCFExceptionIOExceptionpublic void outputConfigurationBody(IThreadContext threadContext, IHTTPOutput out, Locale locale, ConfigParams parameters, String tabName) throws ManifoldCFException, IOException
outputConfigurationBody in interface IConnectoroutputConfigurationBody in class BaseConnectorthreadContext - is the local thread context.out - is the output to which any HTML should be sent.parameters - are the configuration parameters, as they currently exist, for this connection being configured.tabName - is the current tab name.ManifoldCFExceptionIOExceptionpublic String processConfigurationPost(IThreadContext threadContext, IPostParameters variableContext, Locale locale, ConfigParams parameters) throws ManifoldCFException
processConfigurationPost in interface IConnectorprocessConfigurationPost in class BaseConnectorthreadContext - is the local thread context.variableContext - is the set of variables available from the post, including binary file post information.parameters - are the configuration parameters, as they currently exist, for this connection being configured.ManifoldCFExceptionpublic void viewConfiguration(IThreadContext threadContext, IHTTPOutput out, Locale locale, ConfigParams parameters) throws ManifoldCFException, IOException
viewConfiguration in interface IConnectorviewConfiguration in class BaseConnectorthreadContext - is the local thread context.out - is the output to which any HTML should be sent.parameters - are the configuration parameters, as they currently exist, for this connection being configured.ManifoldCFExceptionIOExceptionpublic String getFormCheckJavascriptMethodName(int connectionSequenceNumber)
getFormCheckJavascriptMethodName in interface IRepositoryConnectorgetFormCheckJavascriptMethodName in class BaseRepositoryConnectorconnectionSequenceNumber - is the unique number of this connection within the job.public String getFormPresaveCheckJavascriptMethodName(int connectionSequenceNumber)
getFormPresaveCheckJavascriptMethodName in interface IRepositoryConnectorgetFormPresaveCheckJavascriptMethodName in class BaseRepositoryConnectorconnectionSequenceNumber - is the unique number of this connection within the job.public void outputSpecificationHeader(IHTTPOutput out, Locale locale, Specification ds, int connectionSequenceNumber, List<String> tabsArray) throws ManifoldCFException, IOException
outputSpecificationHeader in interface IRepositoryConnectoroutputSpecificationHeader in class BaseRepositoryConnectorout - is the output to which any HTML should be sent.locale - is the locale the output is preferred to be in.ds - is the current document specification for this job.connectionSequenceNumber - is the unique number of this connection within the job.tabsArray - is an array of tab names. Add to this array any tab names that are specific to the connector.ManifoldCFExceptionIOExceptionpublic void outputSpecificationBody(IHTTPOutput out, Locale locale, Specification ds, int connectionSequenceNumber, int actualSequenceNumber, String tabName) throws ManifoldCFException, IOException
outputSpecificationBody in interface IRepositoryConnectoroutputSpecificationBody in class BaseRepositoryConnectorout - is the output to which any HTML should be sent.locale - is the locale the output is preferred to be in.ds - is the current document specification for this job.connectionSequenceNumber - is the unique number of this connection within the job.actualSequenceNumber - is the connection within the job that has currently been selected.tabName - is the current tab name. (actualSequenceNumber, tabName) form a unique tuple within
the job.ManifoldCFExceptionIOExceptionpublic String processSpecificationPost(IPostParameters variableContext, Locale locale, Specification ds, int connectionSequenceNumber) throws ManifoldCFException
processSpecificationPost in interface IRepositoryConnectorprocessSpecificationPost in class BaseRepositoryConnectorvariableContext - contains the post data, including binary file-upload information.locale - is the locale the output is preferred to be in.ds - is the current document specification for this job.connectionSequenceNumber - is the unique number of this connection within the job.ManifoldCFExceptionpublic void viewSpecification(IHTTPOutput out, Locale locale, Specification ds, int connectionSequenceNumber) throws ManifoldCFException, IOException
viewSpecification in interface IRepositoryConnectorviewSpecification in class BaseRepositoryConnectorout - is the output to which any HTML should be sent.locale - is the locale the output is preferred to be in.ds - is the current document specification for this job.connectionSequenceNumber - is the unique number of this connection within the job.ManifoldCFExceptionIOExceptionpublic String[] getWorkspaceNames() throws ManifoldCFException, ServiceInterruption
ManifoldCFExceptionServiceInterruptionpublic String[] getChildFolderNames(String pathString) throws ManifoldCFException, ServiceInterruption
pathString - is the current path (folder names and project names, separated by dots (.)).ManifoldCFExceptionServiceInterruptionpublic String[] getChildCategoryNames(String pathString) throws ManifoldCFException, ServiceInterruption
pathString - is the current path (folder names and project names, separated by dots (.)).ManifoldCFExceptionServiceInterruptionpublic String[] getCategoryAttributes(String pathString) throws ManifoldCFException, ServiceInterruption
pathString - is the current path of a category (with path components separated by dots).ManifoldCFExceptionServiceInterruptionprotected String[] getCategoryAttributes(LivelinkConnector.LivelinkContext llc, String pathString) throws ManifoldCFException, ServiceInterruption
protected String createLivelinkLoginURI() throws ManifoldCFException
ManifoldCFExceptionprotected void ingestFromLiveLink(LivelinkConnector.LivelinkContext llc, String documentIdentifier, String version, String[] actualAcls, String[] denyAcls, String[] categoryPaths, IProcessActivity activities, LivelinkConnector.MetadataDescription desc, LivelinkConnector.SystemMetadataDescription sDesc) throws ManifoldCFException, ServiceInterruption
documentIdentifier - is the document identifier (as far as the crawler knows).activities - is the process activity structure, so we can ingestManifoldCFExceptionServiceInterruptionprotected static void handleHttpException(String contextMsg, org.apache.http.HttpException e) throws ManifoldCFException, ServiceInterruption
protected static void handleIOException(String contextMsg, IOException e) throws ManifoldCFException, ServiceInterruption
protected org.apache.http.client.HttpClient getInitializedClient(String contextMsg) throws ServiceInterruption, ManifoldCFException
protected static String packCategoryAttribute(String category, String attribute)
protected static void unpackCategoryAttribute(StringBuilder category, StringBuilder attribute, String value)
protected String[] getChildFolders(LivelinkConnector.LivelinkContext llc, String pathString) throws ManifoldCFException, ServiceInterruption
pathString - is the current path (folder names and project names, separated by dots (.)).ManifoldCFExceptionServiceInterruptionprotected String[] getChildCategories(LivelinkConnector.LivelinkContext llc, String pathString) throws ManifoldCFException, ServiceInterruption
pathString - is the current path (folder names and project names, separated by dots (.)).ManifoldCFExceptionServiceInterruptionprotected String[] getCategoryAttributes(int catObjectID) throws ManifoldCFException, ServiceInterruption
catObjectID - is the object id of the category.ManifoldCFExceptionServiceInterruptionprotected com.opentext.api.LLValue getCatVersion(int objID,
int catID)
throws ManifoldCFException,
ServiceInterruption
protected String[] getAttributeValue(com.opentext.api.LLValue categoryVersion, String attributeName) throws ManifoldCFException, ServiceInterruption
protected int[] getObjectRights(int vol,
int objID)
throws ManifoldCFException,
ServiceInterruption
vol - is the volume idobjID - is the object idManifoldCFExceptionServiceInterruptionprotected String[] lookupTokens(int[] rights, LivelinkConnector.ObjectInformation objInfo) throws ManifoldCFException, ServiceInterruption
protected int[] getObjectCategoryIDs(int vol,
int id)
throws ManifoldCFException,
ServiceInterruption
vol - is the volume IDid - the object IDManifoldCFExceptionServiceInterruptionprotected LivelinkConnector.VolumeAndId getPathId(LivelinkConnector.RootValue rv) throws ManifoldCFException, ServiceInterruption
protected int getCategoryId(LivelinkConnector.RootValue rv) throws ManifoldCFException, ServiceInterruption
protected static boolean checkInclude(String filename, Specification documentSpecification) throws ManifoldCFException
filename - is the name of the "file".documentSpecification - is the specification.ManifoldCFExceptionprotected boolean checkIngest(LivelinkConnector.LivelinkContext llc, int objID, Specification documentSpecification) throws ManifoldCFException
objID - is the file ID.documentSpecification - is the specification.ManifoldCFExceptionprotected static boolean checkMatch(String sourceMatch, int sourceIndex, String match)
sourceMatch - is the expanded string (no wildcards)sourceIndex - is the starting point in the expanded string.match - is the wildcard-based string.protected static boolean processCheck(boolean caseSensitive,
String sourceMatch,
int sourceIndex,
String match,
int matchIndex)
caseSensitive - is true if file names are case sensitive.sourceMatch - is the source string (w/o wildcards)sourceIndex - is the current point in the source string.match - is the match string (w/wildcards)matchIndex - is the current point in the match string.protected int handleLivelinkRuntimeException(RuntimeException e, int sanityRetryCount, boolean failIfTimeout) throws ManifoldCFException, ServiceInterruption
e - is the RuntimeException caughtfailIfTimeout - is true if, for transient conditions, we want to signal failure if the timeout condition is acheived.ManifoldCFExceptionServiceInterruptionprotected static int assessRetry(int sanityRetryCount,
ManifoldCFException e)
throws ManifoldCFException
ManifoldCFException