|
||||||||||
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.SchedulableEntityManager
public class SchedulableEntityManager
Entity management operations as REST API for feed and process.
Field Summary |
---|
Fields inherited from class org.apache.falcon.resource.AbstractEntityManager |
---|
configStore, XML_DEBUG_LEN |
Constructor Summary | |
---|---|
SchedulableEntityManager()
|
Method Summary | |
---|---|
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 colo)
Returns the status of requested entity. |
org.apache.falcon.resource.APIResult |
resume(javax.servlet.http.HttpServletRequest request,
String type,
String entity,
String colo)
Resumes a suspended entity. |
org.apache.falcon.resource.APIResult |
schedule(javax.servlet.http.HttpServletRequest request,
String type,
String entity,
String colo)
Schedules an submitted entity immediately. |
org.apache.falcon.resource.APIResult |
suspend(javax.servlet.http.HttpServletRequest request,
String type,
String entity,
String colo)
Suspends a running entity. |
Methods inherited from class org.apache.falcon.resource.AbstractSchedulableEntityManager |
---|
submitAndSchedule |
Methods inherited from class org.apache.falcon.resource.AbstractEntityManager |
---|
audit, checkColo, delete, deserializeEntity, getAllColos, getApplicableColos, getApplicableColos, getColosFromExpression, getStatus, getWorkflowEngine, submit, submitInternal, update, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchedulableEntityManager()
Method Detail |
---|
public org.apache.falcon.resource.APIResult getStatus(String type, String entity, String colo)
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 colo)
AbstractSchedulableEntityManager
schedule
in class AbstractSchedulableEntityManager
public org.apache.falcon.resource.APIResult suspend(@Context javax.servlet.http.HttpServletRequest request, String type, String entity, String colo)
AbstractSchedulableEntityManager
suspend
in class AbstractSchedulableEntityManager
public org.apache.falcon.resource.APIResult resume(@Context javax.servlet.http.HttpServletRequest request, String type, String entity, String colo)
AbstractSchedulableEntityManager
resume
in class AbstractSchedulableEntityManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |