Examples of BackupLog


Examples of org.apdplat.module.monitor.model.BackupLog

   
    private void before(String type){
        LOG.info("准备记录数据库"+type+"日志");
        User user=UserHolder.getCurrentLoginUser();
        String ip=UserHolder.getCurrentUserLoginIp();
        backupLog=new BackupLog();
        if(user != null){
            backupLog.setUsername(user.getUsername());
        }
        backupLog.setLoginIP(ip);
        try {
View Full Code Here

Examples of org.apdplat.module.monitor.model.BackupLog

    public static LinkedHashMap<String,Long> getSequenceData(List<BackupLog> models){   
        Collections.sort(models, new Comparator(){

            @Override
            public int compare(Object o1, Object o2) {
                BackupLog p1=(BackupLog)o1;
                BackupLog p2=(BackupLog)o2;
                return (int) (p1.getStartTime().getTime()-p2.getStartTime().getTime());
            }
       
        });
        LinkedHashMap<String,Long> data=new LinkedHashMap<>();
        if(models.size()<1){
View Full Code Here

Examples of org.neo4j.webadmin.backup.BackupLog

        // Add log data

        if ( includeLog )
        {
            BackupLog log = BackupManager.INSTANCE.getLog();
            ArrayList<BackupLogEntry> logEntries = log.getLog( wrapped.getId() );
            BackupLogEntry latestSuccessfulLogEntry = log.getLatestSuccessful( wrapped.getId() );
            ArrayList<Object> serializedLog = new ArrayList<Object>();
            for ( BackupLogEntry entry : logEntries )
            {
                serializedLog.add( entry.serialize() );
            }
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.