public class HibernateAccessStatDao extends HibernateCRUDDao<AccessStat> implements AccessStatDao
HibernateDao.DaoBlock, HibernateDao.DaoBlockR<R>
Constructor and Description |
---|
HibernateAccessStatDao(HibernateDaoContext context) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
deleteAccessStat(String userGridId,
String userId,
String serviceGridId,
String serviceId,
Calendar baseDateTime,
Period period) |
void |
deleteAccessStatOfGrid(String serviceGridId) |
void |
deleteAccessStatOfService(String serviceGridId,
String serviceId) |
void |
deleteAccessStatOfUser(String userGridId,
String userId) |
AccessStat |
getAccessStat(String userGridId,
String userId,
String serviceAndNodeGridId,
String serviceId,
String nodeId,
Calendar baseDateTime,
Period period) |
List<AccessStat> |
getAccessStats(String userGridId,
String userId,
String serviceGridId,
String serviceId,
Calendar baseDateTime) |
void |
increment(String userGridId,
String userId,
String serviceAndNodeGridId,
String serviceId,
String nodeId,
int requestBytes,
int responseBytes,
int responseMillis) |
void |
increment(String userGridId,
String userId,
String serviceAndNodeGridId,
String serviceId,
String nodeId,
int requestBytes,
int responseBytes,
int responseMillis,
Calendar accessDateTime) |
List<AccessStat> |
listAccessStats(String serviceGridId) |
List<AccessStat> |
listAccessStatsNewerThanOrEqualsTo(String serviceGridId,
Calendar dateTime) |
AccessRankingEntrySearchResult |
searchServiceAccessRanking(int startIndex,
int maxCount,
String userGridId,
String userId,
Calendar startDateTime,
Calendar endDateTime,
Period period,
Order[] orders) |
AccessRankingEntrySearchResult |
searchUserAccessRanking(int startIndex,
int maxCount,
String serviceGridId,
String serviceId,
String userGridId,
Calendar startDateTime,
Calendar endDateTime,
Period period,
Order[] orders) |
add, add, clearEach, createCriteria, createDeleteQuery, delete, delete, exists, get, getOrNull, list, update
createDeleteQuery, createDeleteQuery, deleteEntities, getContext, getSession, logAdditionalInfo, logWhenRollbacking, transact, transact
public HibernateAccessStatDao(HibernateDaoContext context)
public void clear() throws DaoException
clear
in interface AccessStatDao
clear
in class HibernateCRUDDao<AccessStat>
DaoException
public void increment(String userGridId, String userId, String serviceAndNodeGridId, String serviceId, String nodeId, int requestBytes, int responseBytes, int responseMillis) throws DaoException
increment
in interface AccessStatDao
DaoException
public void increment(String userGridId, String userId, String serviceAndNodeGridId, String serviceId, String nodeId, int requestBytes, int responseBytes, int responseMillis, Calendar accessDateTime) throws DaoException
increment
in interface AccessStatDao
DaoException
public List<AccessStat> listAccessStats(String serviceGridId) throws DaoException
listAccessStats
in interface AccessStatDao
DaoException
public List<AccessStat> listAccessStatsNewerThanOrEqualsTo(String serviceGridId, Calendar dateTime) throws DaoException
listAccessStatsNewerThanOrEqualsTo
in interface AccessStatDao
DaoException
public AccessStat getAccessStat(String userGridId, String userId, String serviceAndNodeGridId, String serviceId, String nodeId, Calendar baseDateTime, Period period) throws DaoException
getAccessStat
in interface AccessStatDao
DaoException
public List<AccessStat> getAccessStats(String userGridId, String userId, String serviceGridId, String serviceId, Calendar baseDateTime) throws DaoException
getAccessStats
in interface AccessStatDao
DaoException
public AccessRankingEntrySearchResult searchUserAccessRanking(int startIndex, int maxCount, String serviceGridId, String serviceId, String userGridId, Calendar startDateTime, Calendar endDateTime, Period period, Order[] orders) throws DaoException
searchUserAccessRanking
in interface AccessStatDao
DaoException
public AccessRankingEntrySearchResult searchServiceAccessRanking(int startIndex, int maxCount, String userGridId, String userId, Calendar startDateTime, Calendar endDateTime, Period period, Order[] orders) throws DaoException
searchServiceAccessRanking
in interface AccessStatDao
DaoException
public void deleteAccessStatOfGrid(String serviceGridId) throws DaoException
deleteAccessStatOfGrid
in interface AccessStatDao
DaoException
public void deleteAccessStatOfService(String serviceGridId, String serviceId) throws DaoException
deleteAccessStatOfService
in interface AccessStatDao
DaoException
public void deleteAccessStat(String userGridId, String userId, String serviceGridId, String serviceId, Calendar baseDateTime, Period period) throws DaoException
deleteAccessStat
in interface AccessStatDao
DaoException
public void deleteAccessStatOfUser(String userGridId, String userId) throws DaoException
deleteAccessStatOfUser
in interface AccessStatDao
DaoException