confmaster/src/main/java/com/navercorp/nbasearc/confmaster/io/EventSelector.java
public ElapsedTime process() {
        try {
            long start = System.currentTimeMillis();
            ioProcess();
            long ioDone = System.currentTimeMillis();
            loopProcess();
            long end = System.currentTimeMillis();

            return new ElapsedTime(start, ioDone, end);
        } catch (Exception e) {
            Logger.error("-ERR error occurs in hbMain", e);
        }

        return null;
    }
public ElapsedTime process() {
        try {
            long start = System.currentTimeMillis();
            ioProcess();
            long ioDone = System.currentTimeMillis();
            loopProcess();
            long end = System.currentTimeMillis();

            return new ElapsedTime(start, ioDone, end);
        } catch (Exception e) {
            Logger.error("-ERR error occurs in hbMain", e);
        }

        return null;
    }
public ElapsedTime process ( ) { try { long start = System . currentTimeMillis ( ) ; ioProcess ( ) ; long ioDone = System . currentTimeMillis ( ) ; loopProcess ( ) ; long end = System . currentTimeMillis ( ) ; return new ElapsedTime ( start , ioDone , end ) ; } catch ( Exception e ) { Logger . error ( "-ERR error occurs in hbMain" , e ) ; } return null ; }
Main loop of nio

@return elapsed time
Main loop of nio