Package org.duracloud.syncui.controller
Class StatusController
java.lang.Object
org.duracloud.syncui.controller.StatusController
A spring controller for status related functions.
- Author:
- Daniel Bernstein
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStatusController(SyncProcessManager syncProcessManager, SyncConfigurationManager syncConfigurationManager, SyncOptimizeManager syncOptimizeManager) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.Viewfailures()org.springframework.web.servlet.Viewpause()protected org.springframework.web.servlet.ViewredirectTo(String path) org.springframework.web.servlet.Viewrestart()org.springframework.web.servlet.Viewresume()org.springframework.web.servlet.Viewstart()org.springframework.web.servlet.Viewstop()
-
Field Details
-
STATUS_MAPPING
- See Also:
-
ACTIVE_UPLOADS_KEY
- See Also:
-
-
Constructor Details
-
StatusController
@Autowired public StatusController(SyncProcessManager syncProcessManager, SyncConfigurationManager syncConfigurationManager, SyncOptimizeManager syncOptimizeManager)
-
-
Method Details
-
get
-
start
@RequestMapping(value="", method=POST, params="start") public org.springframework.web.servlet.View start() -
redirectTo
-
pause
@RequestMapping(value="", method=POST, params="pause") public org.springframework.web.servlet.View pause() -
resume
@RequestMapping(value="", method=POST, params="resume") public org.springframework.web.servlet.View resume() -
stop
@RequestMapping(value="", method=POST, params="stop") public org.springframework.web.servlet.View stop() -
restart
@RequestMapping(value="", method=POST, params="restart") public org.springframework.web.servlet.View restart() -
clearErrors
@RequestMapping(value="", method=POST, params="clear-failures") public org.springframework.web.servlet.View clearErrors() -
syncProcessStats
-
syncOptimizeManager
-
syncProcessState
-
currentError
-
monitoredFiles
-
failures
-
recentlyCompleted
-
queuedFiles
-
fileSizeFormatter
-