Examples of LogsDAO


Examples of org.wso2.carbon.registry.core.dao.LogsDAO

                LogRecord[] logRecords = new LogRecord[queueLength];
                for (int a = 0; a < queueLength; a++) {
                    LogRecord logRecord = (LogRecord) logQueue.poll();
                    logRecords[a] = logRecord;
                }
                LogsDAO logsDAO = dataAccessManager.getDAOManager().getLogsDAO();
                try {
                    logsDAO.saveLogBatch(logRecords);
                } catch (RegistryException e) {
                    log.error("Unable to save log records", e);
                }
            } else if (isInterrupted()) {
                break;
View Full Code Here

Examples of org.wso2.carbon.registry.core.dao.LogsDAO

     * @return an array of log entries.
     * @throws RegistryException throws if the operation fail.
     */
    @SuppressWarnings("unused")
    public LogEntry[] getLogEntries() throws RegistryException {
        LogsDAO logsDAO = dataAccessManager.getDAOManager().getLogsDAO();
        return logsDAO.getLogs(resourcePath,
                action,
                userName,
                from,
                to,
                recentFirst,
View Full Code Here

Examples of org.wso2.carbon.registry.core.dao.LogsDAO

     * @return an array of log entries.
     * @throws RegistryException throws if the operation fail.
     */
    @SuppressWarnings("unused")
    public LogEntry[] getLogEntries(int start, int pageLen) throws RegistryException {
        LogsDAO logsDAO = dataAccessManager.getDAOManager().getLogsDAO();
        return logsDAO.getLogs(resourcePath,
                action,
                userName,
                from,
                to,
                recentFirst,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.