@Component
public class ProgressMonitorManager<T extends IRestServiceProgressMonitor>
extends java.lang.Object
Constructor and Description |
---|
ProgressMonitorManager() |
Modifier and Type | Method and Description |
---|---|
IRestServiceProgressMonitor |
getMonitor(java.util.UUID uuid) |
java.util.Map<java.util.UUID,T> |
getMonitors() |
RemotingProgressMonitorThread |
getThread(java.util.UUID uuid) |
boolean |
isMonitorRunning(java.util.UUID uuid)
returns true if the
IRestServiceProgressMonitor identified by the uuid
exists and if it is still indicating a running thread |
java.util.UUID |
registerMonitor(T monitor) |
java.util.UUID |
registerMonitor(T monitor,
RemotingProgressMonitorThread thread) |
public RemotingProgressMonitorThread getThread(java.util.UUID uuid)
public java.util.UUID registerMonitor(T monitor, RemotingProgressMonitorThread thread)
public java.util.UUID registerMonitor(T monitor)
public IRestServiceProgressMonitor getMonitor(java.util.UUID uuid)
public boolean isMonitorRunning(java.util.UUID uuid)
IRestServiceProgressMonitor
identified by the uuid
exists and if it is still indicating a running threaduuid
- public java.util.Map<java.util.UUID,T> getMonitors()
Copyright © 2007-2020 EDIT. All Rights Reserved.