Package org.apdplat.module.monitor.model

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


   
    private void before(){
        LOG.info("准备记录重建索引日志");
        User user=UserHolder.getCurrentLoginUser();
        String ip=UserHolder.getCurrentUserLoginIp();
        indexLog=new IndexLog();
        if(user != null){
            indexLog.setUsername(user.getUsername());
        }
        indexLog.setLoginIP(ip);
        try {
View Full Code Here


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

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

TOP

Related Classes of org.apdplat.module.monitor.model.IndexLog

Copyright © 2018 www.massapicom. 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.