|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.replication.sender.StandardSenderService
Use the newStandardSenderService
static factory method(s),
not the StandardSenderService
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Nested Class Summary | |
(package private) class |
StandardSenderService.WTUnitSenderEventListener
Deprecated. |
Field Summary | |
private static String |
CLASSNAME
Deprecated. |
private static String |
EMB_PATH
Deprecated. |
private static boolean |
EXECUTE_QUEUES
Deprecated. |
private static String |
LINK_LIFECYCLE_TEMPLATE
Deprecated. |
private static boolean |
PERFORMANCE
Deprecated. |
private static String |
PREFERRED_HTTP_PIPE
Deprecated. |
private static long |
REFRESH_RMT_TEAMTEMPLATE_PERIOD
Deprecated. |
private static String |
RESOURCE
Deprecated. |
private static boolean |
SCHEDULE_ITEM_ENABLED
Deprecated. |
private static String |
SENDER_START_TIME
Deprecated. the time for the sender's start time for replication. (set in wt.properties - wt.replication.sender.senderstarttime )If malformed entry or not set, it assumes current time. Note: time in "24hh:mm:ss" format, not 7:30pm, but instead: wt.replication.sender.senderstarttime=19:30:00 |
private static boolean |
SHOW_LOCAL_SITE
Deprecated. |
private static String |
TEAMTEMPLATE_CACHE_QUEUE_NAME
Deprecated. |
private static String |
TEAMTEMPLATE_SCHEDULE_ITEM_NAME
Deprecated. |
private static boolean |
VERBOSE
Deprecated. |
private static boolean |
waitingDone
Deprecated. |
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardSenderService()
Deprecated. |
Method Summary | |
WTUnit |
addContentToUnit(ObjectReference unitRef,
String fullPath,
ContentRoleType roleType)
Deprecated. |
WTUnit |
addContentToUnit(String unitNum,
String fullPath,
ContentRoleType roleType)
Deprecated. |
WTUnit |
addContentToUnit(String unitNum,
String version,
String iteration,
String fullPath,
ContentRoleType roleType)
Deprecated. |
private static void |
addLifeCycleUnitSendRecord(UnitSendRecord link,
String linkLcTemplate,
WTUnit unit)
Deprecated. |
private void |
addThisScheduledItem(Site toSite,
boolean scheduleUnique)
Deprecated. |
private static void |
deleteRmtTeamTemplates(Site rmtSite)
Deprecated. |
private void |
deleteScheduleQueueEntries()
Deprecated. |
protected void |
dispatchVetoableEvent(String eventType,
UnitSendRecord rec)
Deprecated. |
static void |
doScheduledSend(UnitSendRecord sendRec,
String fullTeamTemplateName,
String transType,
String embFolder,
Boolean onSchedule,
Timestamp timeStamp,
Locale locale)
Deprecated. Routine that can be called from the scheduler to send a unit. |
private void |
embUploadUnitInitialize(WTUnit wtUnit,
ObjectReference manifestRef,
Site rmtSite,
String fullTeamTemplateName,
String diskFolder)
Deprecated. |
private void |
embWriteHeader(EMBSenderLog embLog,
WTUnit wtUnit,
Site rmtSite,
String fullTeamTemplateName)
Deprecated. |
static String |
enableScheduleItem(UnitSendRecord rec)
Deprecated. This method is called by the workflow processes to allow the currently active send operation for the replication unit to proceed. |
static void |
findRemoteTeamTemplates(Site site)
Deprecated. |
QueryResult |
getAllSendRecordsForSite(WTUnit unit,
String site)
Deprecated. |
Enumeration |
getAllSendRecordsForUnit(WTUnit unit)
Deprecated. |
String |
getConceptualClassname()
Deprecated. |
private Timestamp |
getPropertiesInitialTime(ScheduleItem item)
Deprecated. Safely gets initial time according to user specification in wt.properties That is, initial time for start replication sending services. If incorrect settings, returns current time. |
Enumeration |
getRemoteTeamTemplates(Site rmtSite)
Deprecated. |
QueryResult |
getSendRecordsByScheduleStatus(WTUnit unit,
String site,
String status)
Deprecated. |
QueryResult |
getSendRecordsBySenderStatus(WTUnit unit,
String site,
UnitReplicationStatus status)
Deprecated. |
private static UnitSendRecord |
getUniqueSendRecordByScheduleStatus(WTUnit wtUnit,
Site site,
String status)
Deprecated. |
private static UnitSendRecord |
getUniqueSendRecordBySenderStatus(WTUnit wtUnit,
Site site,
UnitReplicationStatus status)
Deprecated. |
boolean |
isSendOperationActive(WTUnit unit,
String site)
Deprecated. |
private boolean |
lookForExistingScheduleItem()
Deprecated. Looks for existing schedule items in the system associated with this replication service. Reschedule item start time according to user preference (specified in wt.replication.sender.senderstarttime). |
static StandardSenderService |
newStandardSenderService()
Deprecated. |
protected void |
performStartupProcess()
Deprecated. |
private void |
refreshRmtTeamTemplateOnSiteChange(Site rmtSite,
KeyedEvent keyedEvent)
Deprecated. |
private static void |
refreshTeamTemplateUponFolderProblem(Site rmtSite,
Throwable e)
Deprecated. |
private void |
removeAllScheduledItems()
Deprecated. |
private void |
removeThisScheduledItem(Site rmtSite)
Deprecated. |
static void |
saveRemoteTeamTemplates(String rmtUrl,
Vector teamTemplateList,
Throwable e)
Deprecated. |
private static void |
saveRmtTeamTemplates(Site rmtSite,
Vector teamTemplateList)
Deprecated. |
private void |
scheduleRemoteTeamTemplateFinding()
Deprecated. |
void |
scheduleSendOperation(WTUnit unit,
String fullTeamTemplateName,
Site site,
boolean bEMBPipe,
String embFolder,
Timestamp startTime,
boolean scheduled,
String description,
String toUser,
String toTeamTemplate,
Locale locale)
Deprecated. |
void |
testManifest(WTUnit unit,
ApplicationData appData,
String fullPath)
Deprecated. |
private void |
updateUnitSentToSiteLinkStatus(ActionShippingItem asi)
Deprecated. |
private static void |
updateUnitStatus(WTUnit wtUnit,
UnitReplicationStatus statusE,
UnitReplicationStatus statusR,
UnitReplicationStatus statusI)
Deprecated. |
static void |
uploadUnitComplete(ObjectReference sendRecRef,
String receiverUrl,
Throwable e)
Deprecated. |
WTUnit |
uploadUnitInitialize(UnitSendRecord sendRec,
String fullTeamTemplateName,
String transType,
String embFolder,
boolean onSchedule,
Timestamp timeStamp)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static boolean VERBOSE
private static String SENDER_START_TIME
wt.replication.sender.senderstarttime
)wt.replication.sender.senderstarttime=19:30:00
private static long REFRESH_RMT_TEAMTEMPLATE_PERIOD
private static boolean SCHEDULE_ITEM_ENABLED
private static boolean waitingDone
private static String EMB_PATH
private static boolean SHOW_LOCAL_SITE
private static String PREFERRED_HTTP_PIPE
private static boolean PERFORMANCE
private static final String TEAMTEMPLATE_CACHE_QUEUE_NAME
private static final String TEAMTEMPLATE_SCHEDULE_ITEM_NAME
private static boolean EXECUTE_QUEUES
private static String LINK_LIFECYCLE_TEMPLATE
Constructor Detail |
public StandardSenderService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public static StandardSenderService newStandardSenderService() throws WTException
WTException
protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
protected void dispatchVetoableEvent(String eventType, UnitSendRecord rec) throws WTException
eventType
- rec
-
WTException
public static void findRemoteTeamTemplates(Site site) throws WTException
site
-
WTException
public static void saveRemoteTeamTemplates(String rmtUrl, Vector teamTemplateList, Throwable e) throws WTException
rmtUrl
- teamTemplateList
- e
-
WTException
public WTUnit addContentToUnit(String unitNum, String fullPath, ContentRoleType roleType) throws WTException
addContentToUnit
in interface SenderService
unitNum
- fullPath
- roleType
-
WTException
public WTUnit uploadUnitInitialize(UnitSendRecord sendRec, String fullTeamTemplateName, String transType, String embFolder, boolean onSchedule, Timestamp timeStamp) throws WTReplicationException, WTException
uploadUnitInitialize
in interface SenderService
sendRec
- fullTeamTemplateName
- transType
- embFolder
- onSchedule
- timeStamp
-
WTReplicationException
WTException
public WTUnit addContentToUnit(String unitNum, String version, String iteration, String fullPath, ContentRoleType roleType) throws WTException
addContentToUnit
in interface SenderService
unitNum
- version
- iteration
- fullPath
- roleType
-
WTException
public void testManifest(WTUnit unit, ApplicationData appData, String fullPath) throws WTException
testManifest
in interface SenderService
unit
- appData
- fullPath
-
WTException
public WTUnit addContentToUnit(ObjectReference unitRef, String fullPath, ContentRoleType roleType) throws WTException
addContentToUnit
in interface SenderService
unitRef
- fullPath
- roleType
-
WTException
public Enumeration getRemoteTeamTemplates(Site rmtSite) throws WTException
getRemoteTeamTemplates
in interface SenderService
rmtSite
-
WTException
public void scheduleSendOperation(WTUnit unit, String fullTeamTemplateName, Site site, boolean bEMBPipe, String embFolder, Timestamp startTime, boolean scheduled, String description, String toUser, String toTeamTemplate, Locale locale) throws WTException, WTPropertyVetoException
scheduleSendOperation
in interface SenderService
unit
- fullTeamTemplateName
- site
- bEMBPipe
- embFolder
- startTime
- scheduled
- description
- toUser
- toTeamTemplate
- locale
-
WTException
WTPropertyVetoException
public Enumeration getAllSendRecordsForUnit(WTUnit unit) throws WTException
getAllSendRecordsForUnit
in interface SenderService
unit
-
WTException
public QueryResult getSendRecordsByScheduleStatus(WTUnit unit, String site, String status) throws WTException
getSendRecordsByScheduleStatus
in interface SenderService
unit
- site
- status
-
WTException
public QueryResult getSendRecordsBySenderStatus(WTUnit unit, String site, UnitReplicationStatus status) throws WTException
getSendRecordsBySenderStatus
in interface SenderService
unit
- site
- status
-
WTException
public QueryResult getAllSendRecordsForSite(WTUnit unit, String site) throws WTException
getAllSendRecordsForSite
in interface SenderService
unit
- site
-
WTException
public boolean isSendOperationActive(WTUnit unit, String site) throws WTException
isSendOperationActive
in interface SenderService
unit
- site
-
WTException
public static void uploadUnitComplete(ObjectReference sendRecRef, String receiverUrl, Throwable e) throws WTReplicationException, WTException
WTReplicationException
WTException
private static void updateUnitStatus(WTUnit wtUnit, UnitReplicationStatus statusE, UnitReplicationStatus statusR, UnitReplicationStatus statusI) throws WTException
WTException
private void updateUnitSentToSiteLinkStatus(ActionShippingItem asi) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static void doScheduledSend(UnitSendRecord sendRec, String fullTeamTemplateName, String transType, String embFolder, Boolean onSchedule, Timestamp timeStamp, Locale locale) throws WTException
WTException
private static void addLifeCycleUnitSendRecord(UnitSendRecord link, String linkLcTemplate, WTUnit unit)
private static UnitSendRecord getUniqueSendRecordByScheduleStatus(WTUnit wtUnit, Site site, String status) throws WTException, WTReplicationException
WTException
WTReplicationException
private static UnitSendRecord getUniqueSendRecordBySenderStatus(WTUnit wtUnit, Site site, UnitReplicationStatus status) throws WTException, WTReplicationException
WTException
WTReplicationException
public static String enableScheduleItem(UnitSendRecord rec)
rec
- The UnitSendRecord whose send operation is to be enabled.
private void embUploadUnitInitialize(WTUnit wtUnit, ObjectReference manifestRef, Site rmtSite, String fullTeamTemplateName, String diskFolder) throws WTReplicationException
WTReplicationException
private void embWriteHeader(EMBSenderLog embLog, WTUnit wtUnit, Site rmtSite, String fullTeamTemplateName)
private void scheduleRemoteTeamTemplateFinding()
private void removeAllScheduledItems()
private void deleteScheduleQueueEntries()
private static void deleteRmtTeamTemplates(Site rmtSite) throws WTException
WTException
private static void saveRmtTeamTemplates(Site rmtSite, Vector teamTemplateList) throws WTException
WTException
private static void refreshTeamTemplateUponFolderProblem(Site rmtSite, Throwable e)
private void refreshRmtTeamTemplateOnSiteChange(Site rmtSite, KeyedEvent keyedEvent) throws WTException
WTException
private void removeThisScheduledItem(Site rmtSite)
private void addThisScheduledItem(Site toSite, boolean scheduleUnique)
private boolean lookForExistingScheduleItem()
private Timestamp getPropertiesInitialTime(ScheduleItem item)
item
- schedule item whose initial time is being set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |