public interface InstanceDAO
| Modifier and Type | Method and Description |
|---|---|
void |
closeAppUserSession(String uuid) |
void |
closeDeadInstances() |
void |
createUserSession(AppUserSession session) |
List<BaltoroInstance> |
find(String appUuid) |
List<BaltoroAppAPI> |
getAppAPI(String appUuid) |
BaltoroInstance |
getInstance(String uuid) |
List<AppUserSession> |
getUserSessionByAppUuid(String appUuid) |
AppUserSession |
getUserSessionByUuid(String uuid) |
BaltoroAppAPI |
insert(BaltoroAppAPI obj) |
BaltoroInstanceRequest |
insert(BaltoroInstanceRequest obj) |
BaltoroInstance |
insertInstance(BaltoroInstance obj) |
void |
touchAppUserSession(String uuid) |
void |
update(String uuid,
BaltoroAppAPI obj) |
void |
updateAppUserSessionAtt(String uuid,
String userName,
String json) |
void |
updateInstance(String uuid,
String state,
int cpuPercent,
int memGB) |
void |
updateInstanceStartedOn(String uuid,
String clusterPath,
String remoteAddress,
int threads) |
void |
updateRequest(String uuid,
int millis,
int sizeKB,
String error) |
BaltoroInstance getInstance(String uuid) throws ServiceException
ServiceExceptionList<BaltoroInstance> find(String appUuid) throws ServiceException
ServiceExceptionBaltoroInstance insertInstance(BaltoroInstance obj) throws ServiceException
ServiceExceptionvoid updateInstance(String uuid, String state, int cpuPercent, int memGB) throws ServiceException
ServiceExceptionvoid updateInstanceStartedOn(String uuid, String clusterPath, String remoteAddress, int threads) throws ServiceException
ServiceExceptionvoid closeDeadInstances()
throws ServiceException
ServiceExceptionList<BaltoroAppAPI> getAppAPI(String appUuid) throws ServiceException
ServiceExceptionBaltoroAppAPI insert(BaltoroAppAPI obj) throws ServiceException
ServiceExceptionvoid update(String uuid, BaltoroAppAPI obj) throws ServiceException
ServiceExceptionBaltoroInstanceRequest insert(BaltoroInstanceRequest obj) throws ServiceException
ServiceExceptionvoid updateRequest(String uuid, int millis, int sizeKB, String error) throws ServiceException
ServiceExceptionvoid createUserSession(AppUserSession session) throws ServiceException
ServiceExceptionvoid touchAppUserSession(String uuid) throws ServiceException
ServiceExceptionvoid updateAppUserSessionAtt(String uuid, String userName, String json) throws ServiceException
ServiceExceptionvoid closeAppUserSession(String uuid) throws ServiceException
ServiceExceptionAppUserSession getUserSessionByUuid(String uuid) throws ServiceException
ServiceExceptionList<AppUserSession> getUserSessionByAppUuid(String appUuid) throws ServiceException
ServiceExceptionCopyright © 2017. All rights reserved.