Examples of refreshAfter()


Examples of dk.brics.jwig.server.SessionManager.refreshAfter()

  public void refresh() {
    SessionManager m = ThreadContext.getSessionManager();
    synchronized (m) {
      m.refreshBefore(this);
      updateTimeout();
      m.refreshAfter(this);
    }
  }

  private void updateTimeout() {
    timeout = new Date().getTime() + minutes_to_live*60000L;
 
View Full Code Here

Examples of org.butor.attrset.util.Attributes.AttributesBuilder.refreshAfter()

 
  @Override
  public Attributes getObject() throws Exception {
    AttributesBuilder ab = new AttributesBuilder().setType(type).setId(id).setAttrSetDao(dao).setCommonRequestArgs(cra);
    if (refreshCacheSeconds != null) {
      ab.refreshAfter(refreshCacheSeconds, TimeUnit.SECONDS);
    }
    return ab.build();
  }

  @Override
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.