org.sandev.TaskHeap.ExternalSync
Class ExternalSyncNodeDecl

java.lang.Object
  extended by org.sandev.TaskHeap.ExternalSync.ExternalSyncNodeDecl
Direct Known Subclasses:
ExternalSyncNodeBase, ExternalSyncNodeInstance

public class ExternalSyncNodeDecl
extends java.lang.Object

Synchronize external plan time estimates from the published reference heap data. Synchronization is done either by a periodic worker thread or on request.

A SimpleMailSender is initialized for use.
An AuthUserLookup interface is implemented via a local peer node.
An IDLookup interface is implemented via a local peer node.

outbound synchronous message calls:

inbound synchronous message calls:


Field Summary
protected  java.lang.String externalPlanFailure
          Text used for the lastModifiedReason when retrieval of external plan data fails.
protected  java.lang.String externalPlanSuccess
          Text used for the lastModifiedReason when retrieval of external plan data was successful.
protected  java.lang.String httpAgentID
          How we identify ourselves to other http servers when we connect.
protected  int initialPollWaitSeconds
          An initial wait period before the first PollingThread pass.
protected  java.lang.String peerAuthUserLookupNode
          The instance name of our UserLookup node.
 java.lang.String peerIDLookupNode
          The instance name of a local node that implements IDLookup.
protected  int pollingIntervalMinutes
          The number of minutes the PollingThread should wait between checking if there is additional work to do.
 
Constructor Summary
ExternalSyncNodeDecl()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

peerAuthUserLookupNode

protected java.lang.String peerAuthUserLookupNode
The instance name of our UserLookup node. We rely on this local node to implement the AuthUserLookup part of the UIFormOwner interface.

Length in characters, normal: 30 max: 60

peerIDLookupNode

public java.lang.String peerIDLookupNode
The instance name of a local node that implements IDLookup.


initialPollWaitSeconds

protected int initialPollWaitSeconds
An initial wait period before the first PollingThread pass. This gives the system time to stabilize on startup before we start doing any batch work.

declared default value: 20
declared invalid value: -1
range match expression: > 5
declared printname: initial poll wait (in seconds)

pollingIntervalMinutes

protected int pollingIntervalMinutes
The number of minutes the PollingThread should wait between checking if there is additional work to do. Gnerally good to wait at least 20 minutes since the last pass so the the previous run has plenty of time to complete before starting over again.

declared default value: 60
declared invalid value: -1
range match expression: > 20
declared printname: polling interval (in minutes)

externalPlanSuccess

protected java.lang.String externalPlanSuccess
Text used for the lastModifiedReason when retrieval of external plan data was successful.

declared default value: "Information retrieved successfully."
Length in characters, normal: 60 max: 255

externalPlanFailure

protected java.lang.String externalPlanFailure
Text used for the lastModifiedReason when retrieval of external plan data fails.

declared default value: "Information retrieval failed: $ERROR"
Length in characters, normal: 60 max: 255

httpAgentID

protected java.lang.String httpAgentID
How we identify ourselves to other http servers when we connect.

declared default value: "$PRE ExternalSyncNode"
Length in characters, normal: 30 max: 80
Constructor Detail

ExternalSyncNodeDecl

public ExternalSyncNodeDecl()