org.gwe.app.daemon.domain
Class MonitorDomain

java.lang.Object
  extended by org.gwe.app.daemon.domain.BaseDomain
      extended by org.gwe.app.daemon.domain.MonitorDomain
All Implemented Interfaces:
java.lang.Runnable, IEventLogger

public class MonitorDomain
extends BaseDomain
implements java.lang.Runnable, IEventLogger

Since:
Oct 4, 2007
Author:
Marco Ruiz

Field Summary
 
Fields inherited from class org.gwe.app.daemon.domain.BaseDomain
allocationDAO, computeResourceDAO, headResourceDAO, jobDAO, jobExecutionDAO, orderDAO
 
Constructor Summary
MonitorDomain()
           
 
Method Summary
 long createHandle()
           
 void disposeNotifier(long handle)
           
 java.util.List<Event> getNextEvents(long handle, EventFilter filter)
           
<KEY_TYPE> java.sql.Timestamp
logEvent(BaseModelInfo<KEY_TYPE> source, EventType evType, java.sql.Timestamp when, BaseModelInfo... relatedModels)
           
 void run()
           
 
Methods inherited from class org.gwe.app.daemon.domain.BaseDomain
getAllocationDAO, getComputeResourceDAO, getConfig, getHeadResourceDAO, getJobDAO, getJobExecutionDAO, getOrderDAO, setAllocationDAO, setComputeResourceDAO, setConfig, setHeadResourceDAO, setJobDAO, setJobExecutionDAO, setOrderDAO, verifyAccount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorDomain

public MonitorDomain()
Method Detail

logEvent

public <KEY_TYPE> java.sql.Timestamp logEvent(BaseModelInfo<KEY_TYPE> source,
                                              EventType evType,
                                              java.sql.Timestamp when,
                                              BaseModelInfo... relatedModels)
Specified by:
logEvent in interface IEventLogger

createHandle

public long createHandle()

getNextEvents

public java.util.List<Event> getNextEvents(long handle,
                                           EventFilter filter)

disposeNotifier

public void disposeNotifier(long handle)

run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 2007-2009. All Rights Reserved.