nextapp.echo2.webcontainer
Class ContainerAsyncMonitorService
java.lang.Object
nextapp.echo2.webrender.service.AsyncMonitorService
nextapp.echo2.webcontainer.ContainerAsyncMonitorService
- All Implemented Interfaces:
- nextapp.echo2.webrender.Service
public class ContainerAsyncMonitorService
- extends nextapp.echo2.webrender.service.AsyncMonitorService
Web Container implementation of AsyncMonitorService
.
Determines if a given application instance requires immediate
client-server synchronization by querying
ApplicationInstance.hasQueuedTasks()
.
Field Summary |
static nextapp.echo2.webrender.Service |
INSTANCE
Singleton instance. |
Fields inherited from class nextapp.echo2.webrender.service.AsyncMonitorService |
SERVICE_ID |
Fields inherited from interface nextapp.echo2.webrender.Service |
DO_NOT_CACHE |
Method Summary |
boolean |
isSynchronizationRequired(nextapp.echo2.webrender.UserInstance userInstance)
Determines if the specified UserInstance requires
immediate synchronization. |
Methods inherited from class nextapp.echo2.webrender.service.AsyncMonitorService |
getId, getVersion, service |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final nextapp.echo2.webrender.Service INSTANCE
- Singleton instance.
ContainerAsyncMonitorService
public ContainerAsyncMonitorService()
isSynchronizationRequired
public boolean isSynchronizationRequired(nextapp.echo2.webrender.UserInstance userInstance)
- Description copied from class:
nextapp.echo2.webrender.service.AsyncMonitorService
- Determines if the specified
UserInstance
requires
immediate synchronization.
- Specified by:
isSynchronizationRequired
in class nextapp.echo2.webrender.service.AsyncMonitorService
- Parameters:
userInstance
- the UserInstance
- Returns:
- true if the
UserInstance
requires immediate
client-server synchronization - See Also:
AsyncMonitorService.isSynchronizationRequired(
nextapp.echo2.webrender.UserInstance)