Package com.alibaba.wasp

Examples of com.alibaba.wasp.ClockOutOfSyncException


      String message = "Server " + serverName + " has been "
          + "rejected; Reported time is too far out of sync with master.  "
          + "Time difference of " + skew + "ms > max allowed of " + maxSkew
          + "ms";
      LOG.warn(message);
      throw new ClockOutOfSyncException(message);
    } else if (skew > warningSkew) {
      String message = "Reported time for server " + serverName
          + " is out of sync with master " + "by " + skew
          + "ms. (Warning threshold is " + warningSkew + "ms; "
          + "error threshold is " + maxSkew + "ms)";
View Full Code Here

TOP

Related Classes of com.alibaba.wasp.ClockOutOfSyncException

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.