|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.falcon.resource.AbstractEntityManager
org.apache.falcon.resource.AbstractSchedulableEntityManager
org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy
public class SchedulableEntityManagerProxy
A proxy implementation of the schedulable entity operations.
Field Summary |
---|
Fields inherited from class org.apache.falcon.resource.AbstractEntityManager |
---|
configStore, XML_DEBUG_LEN |
Constructor Summary | |
---|---|
SchedulableEntityManagerProxy()
|
Method Summary | |
---|---|
org.apache.falcon.resource.APIResult |
delete(javax.servlet.http.HttpServletRequest request,
String type,
String entity,
String ignore)
Deletes a scheduled entity, a deleted entity is removed completely from execution pool. |
org.apache.falcon.resource.EntityList |
getDependencies(String type,
String entity)
Returns dependencies. |
String |
getEntityDefinition(String type,
String entityName)
Returns the entity definition as an XML based on name. |
org.apache.falcon.resource.EntityList |
getEntityList(String type,
String fields)
Returns the list of entities registered of a given type. |
org.apache.falcon.resource.APIResult |
getStatus(String type,
String entity,
String coloExpr)
Returns the status of requested entity. |
org.apache.falcon.resource.APIResult |
resume(javax.servlet.http.HttpServletRequest request,
String type,
String entity,
String coloExpr)
Resumes a suspended entity. |
org.apache.falcon.resource.APIResult |
schedule(javax.servlet.http.HttpServletRequest request,
String type,
String entity,
String coloExpr)
Schedules an submitted entity immediately. |
org.apache.falcon.resource.APIResult |
submit(javax.servlet.http.HttpServletRequest request,
String type,
String ignore)
Submit a new entity. |
org.apache.falcon.resource.APIResult |
submitAndSchedule(javax.servlet.http.HttpServletRequest request,
String type,
String coloExpr)
Submits a new entity and schedules it immediately. |
org.apache.falcon.resource.APIResult |
suspend(javax.servlet.http.HttpServletRequest request,
String type,
String entity,
String coloExpr)
Suspends a running entity. |
org.apache.falcon.resource.APIResult |
update(javax.servlet.http.HttpServletRequest request,
String type,
String entityName,
String ignore)
|
org.apache.falcon.resource.APIResult |
validate(javax.servlet.http.HttpServletRequest request,
String type)
Post an entity XML with entity type. |
Methods inherited from class org.apache.falcon.resource.AbstractEntityManager |
---|
audit, checkColo, deserializeEntity, getAllColos, getApplicableColos, getApplicableColos, getColosFromExpression, getStatus, getWorkflowEngine, submitInternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchedulableEntityManagerProxy()
Method Detail |
---|
public org.apache.falcon.resource.APIResult submit(@Context javax.servlet.http.HttpServletRequest request, String type, String ignore)
AbstractEntityManager
submit
in class AbstractEntityManager
request
- - Servlet Requesttype
- - entity type - feed, process or data end pointignore
- - applicable colo
public org.apache.falcon.resource.APIResult validate(@Context javax.servlet.http.HttpServletRequest request, String type)
AbstractEntityManager
validate
in class AbstractEntityManager
type
- entity type
public org.apache.falcon.resource.APIResult delete(@Context javax.servlet.http.HttpServletRequest request, String type, String entity, String ignore)
AbstractEntityManager
delete
in class AbstractEntityManager
type
- entity typeentity
- entity name
public org.apache.falcon.resource.APIResult update(@Context javax.servlet.http.HttpServletRequest request, String type, String entityName, String ignore)
update
in class AbstractEntityManager
public org.apache.falcon.resource.APIResult getStatus(String type, String entity, String coloExpr)
AbstractEntityManager
getStatus
in class AbstractEntityManager
type
- entity typeentity
- entity name
public org.apache.falcon.resource.EntityList getDependencies(String type, String entity)
AbstractEntityManager
getDependencies
in class AbstractEntityManager
type
- entity typeentity
- entity name
public org.apache.falcon.resource.EntityList getEntityList(String type, String fields)
AbstractEntityManager
getEntityList
in class AbstractEntityManager
type
- entity typefields
- fields that the query is interested in, separated by comma
public String getEntityDefinition(String type, String entityName)
AbstractEntityManager
getEntityDefinition
in class AbstractEntityManager
type
- entity typeentityName
- entity name
public org.apache.falcon.resource.APIResult schedule(@Context javax.servlet.http.HttpServletRequest request, String type, String entity, String coloExpr)
AbstractSchedulableEntityManager
schedule
in class AbstractSchedulableEntityManager
public org.apache.falcon.resource.APIResult submitAndSchedule(@Context javax.servlet.http.HttpServletRequest request, String type, String coloExpr)
AbstractSchedulableEntityManager
submitAndSchedule
in class AbstractSchedulableEntityManager
public org.apache.falcon.resource.APIResult suspend(@Context javax.servlet.http.HttpServletRequest request, String type, String entity, String coloExpr)
AbstractSchedulableEntityManager
suspend
in class AbstractSchedulableEntityManager
public org.apache.falcon.resource.APIResult resume(@Context javax.servlet.http.HttpServletRequest request, String type, String entity, String coloExpr)
AbstractSchedulableEntityManager
resume
in class AbstractSchedulableEntityManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |