|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.yarn.batch.repository.AbstractRemoteDao
public abstract class AbstractRemoteDao
Base class for all daos handling remote calls through
AppmasterScOperations.
| Constructor Summary | |
|---|---|
AbstractRemoteDao()
Default constructor. |
|
AbstractRemoteDao(AppmasterMindScOperations appmasterScOperations)
Constructor which sets the AppmasterMindScOperations. |
|
| Method Summary | |
|---|---|
protected void |
checkResponseMayThrow(BaseResponseObject responseObject)
Checks status of a response and throws an exception if response status message is set to 'error'. |
protected org.springframework.dao.DataAccessException |
convertException(java.lang.Exception e)
Converts given exception to Spring dao exception. |
AppmasterMindScOperations |
getAppmasterScOperations()
Gets the AppmasterMindScOperations for this implementation. |
void |
setAppmasterScOperations(AppmasterMindScOperations appmasterScOperations)
Sets the AppmasterMindScOperations for this implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractRemoteDao()
AppmasterMindScOperations should be
set via setAppmasterScOperations(AppmasterMindScOperations)
method.
public AbstractRemoteDao(AppmasterMindScOperations appmasterScOperations)
AppmasterMindScOperations.
appmasterScOperations - AppmasterMindScOperations to set| Method Detail |
|---|
public AppmasterMindScOperations getAppmasterScOperations()
AppmasterMindScOperations for this implementation.
AppmasterMindScOperations used for this implementationpublic void setAppmasterScOperations(AppmasterMindScOperations appmasterScOperations)
AppmasterMindScOperations for this implementation.
appmasterScOperations - the AppmasterMindScOperations
protected void checkResponseMayThrow(BaseResponseObject responseObject)
throws java.rmi.RemoteException
responseObject - the response object
java.rmi.RemoteException - if state is set to errorprotected org.springframework.dao.DataAccessException convertException(java.lang.Exception e)
e - the exception
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||