NextApp Echo2
v2.1.1

nextapp.echo2.webcontainer
Class ContainerAsyncMonitorService

java.lang.Object
  extended by nextapp.echo2.webrender.service.AsyncMonitorService
      extended by 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
 
Constructor Summary
ContainerAsyncMonitorService()
           
 
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
 

Field Detail

INSTANCE

public static final nextapp.echo2.webrender.Service INSTANCE
Singleton instance.

Constructor Detail

ContainerAsyncMonitorService

public ContainerAsyncMonitorService()
Method Detail

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)

NextApp Echo2
v2.1.1