org.apache.oozie.store
Class SLAStore

java.lang.Object
  extended by org.apache.oozie.store.Store
      extended by org.apache.oozie.store.SLAStore

public class SLAStore
extends Store


Constructor Summary
SLAStore()
           
SLAStore(Store store)
           
 
Method Summary
 List<SLAEventBean> getSLAEventListNewerSeqLimited(long seqId, int limitLen, long[] lastSeqId)
          Get a list of SLA Events newer than a specific sequence with limit clause.
 void insertSLAEvent(SLAEventBean slaEvent)
          Create a CoordJobBean.
 
Methods inherited from class org.apache.oozie.store.Store
beginTrx, closeTrx, commitTrx, contains, getConnection, getEntityManager, getFlushMode, isActive, isClosed, isDetached, rollbackTrx
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLAStore

public SLAStore()
         throws StoreException
Throws:
StoreException

SLAStore

public SLAStore(Store store)
         throws StoreException
Throws:
StoreException
Method Detail

insertSLAEvent

public void insertSLAEvent(SLAEventBean slaEvent)
                    throws StoreException
Create a CoordJobBean. It also creates the process instance for the job.

Parameters:
workflow - workflow bean
Throws:
StoreException

getSLAEventListNewerSeqLimited

public List<SLAEventBean> getSLAEventListNewerSeqLimited(long seqId,
                                                         int limitLen,
                                                         long[] lastSeqId)
                                                  throws StoreException
Get a list of SLA Events newer than a specific sequence with limit clause.

Parameters:
seqId - sequence id
Returns:
List of SLA Events
Throws:
StoreException


Copyright © 2013 Apache Software Foundation. All Rights Reserved.