public class Link_B extends Link
linkCount, linkSpec, linkTree, maxNegative, monitorCount, possibleCount, timeStamp
shutDown
passwordHandler, service, serviceType
jarFile, syncOn, uuid
Constructor and Description |
---|
Link_B()
Creates a new instance of Link_B.
|
Link_B(Service service,
PasswordHandler pHandler)
Creates a new instance of Link_B.
|
Link_B(Service service,
PasswordHandler pHandler,
LinkSpec thisLinkSpec)
Creates a new instance of Link_B.
|
Modifier and Type | Method and Description |
---|---|
protected void |
updateThresholds(Thresholds theThresholds,
java.util.ArrayList<java.lang.String> conceptPath,
java.util.ArrayList newSources,
long timeStamp,
java.util.ArrayList sourcesAdded,
java.util.ArrayList negative)
Update the linkSpec structure.
|
addDynamicLinks, addDynamicLinks, addDynamicLinks, dynamicLinksToString, dynamicLinksToXml, getCurrentCount, getLinkElements, getLinkSources, getLinkTree, getThresholdCount, getThresholdCount, getTotalInstancesCount, getTotalInstancesCount, getUuid, linkQuery, resetRelatedThresholds, resetRelatedThresholds, resetUpdatedThresholds, resetUpdatedThresholds, resetValues, setThresholds, setThresholds, setThresholds, xmlToDynamicLinks
getShutDown, interrupt, setShutDown, setShutDown
canAccess, canAccessTemp, getPasswordHandler, getPasswordHandler, getServerPassword, getServicePassword, getServiceType, isAdminKey, setServiceDetails, setServiceType
getJarFile, getUUID, loadObject, setJarFile, setUUID, threadAliveState
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUUID, setJarFile, setUUID
public Link_B() throws java.lang.Exception
setServiceDetails
later.java.lang.Exception
- any error.public Link_B(Service service, PasswordHandler pHandler) throws java.lang.Exception
service
- the parent service.pHandler
- the parent password handler.java.lang.Exception
- any error.public Link_B(Service service, PasswordHandler pHandler, LinkSpec thisLinkSpec) throws java.lang.Exception
service
- the parent service.pHandler
- the parent password handler.thisLinkSpec
- the config to use for initialising the thresholds structures.java.lang.Exception
- any error.protected void updateThresholds(Thresholds theThresholds, java.util.ArrayList<java.lang.String> conceptPath, java.util.ArrayList newSources, long timeStamp, java.util.ArrayList sourcesAdded, java.util.ArrayList negative) throws java.lang.Exception
updateThresholds
in class Link
theThresholds
- the linkSpec structure.conceptPath
- a preferred path to find in the tree.newSources
- list of sources to add or update.timeStamp
- time stamp for update.sourcesAdded
- a list of all added sources over all of the update calls.negative
- a list of negative source results.java.lang.Exception
- any error.