Examples of AddSessionCountMessage


Examples of org.apache.wicket.cluster.initializer.message.AddSessionCountMessage

    int count = getActiveSessionsCount();
    try {
      if (count > 0) {
        // if we have any sessions inform the added member about our
        // session count
        messageSender.sendMessage(new AddSessionCountMessage(count),
            member);
      }
    } catch (RuntimeException e) {
      log.error("Error informing new member about sessions count", e);
    }
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.