Examples of resetState()


Examples of org.apache.james.protocols.api.ProtocolSession.resetState()

     * @param channel
     */
    protected void cleanup(Channel channel) {
        ProtocolSession session = (ProtocolSession) attributes.remove(channel);
        if (session != null) {
            session.resetState();
            session = null;
        }
    }

    /**
 
View Full Code Here

Examples of org.apache.tapestry.contrib.tree.components.TreeView.resetState()

  /**
   * @see org.apache.tapestry.contrib.tree.components.ITreeComponent#resetState()
   */
  public void resetState() {
    TreeView objTreeView = (TreeView)getComponent("treeView");
    objTreeView.resetState();
  }

  /**
   * @see org.apache.tapestry.contrib.tree.components.ITreeComponent#getComponentPath()
   */
 
View Full Code Here

Examples of org.exist.xquery.value.FunctionReference.resetState()

            // need to create a new AnalyzeContextInfo to avoid memory leak
            // cachedContextInfo will stay in memory
          ref.analyze(new AnalyzeContextInfo(cachedContextInfo));
          // Evaluate the function
          final Sequence result = ref.eval(contextSequence);
            ref.resetState(false);
            return result;
        }
    }

    @Override
View Full Code Here

Examples of org.infinispan.context.SingleKeyNonTxInvocationContext.resetState()

      SingleKeyNonTxInvocationContext ctx = (SingleKeyNonTxInvocationContext) invocationContextFactory
            .createSingleKeyNonTxInvocationContext();

      for (XSiteState siteState : chunk) {
         interceptorChain.invoke(ctx, createPut(siteState));
         ctx.resetState(); //re-use same context. Old context is not longer needed
         if (trace) {
            log.tracef("Successfully applied key'%s'", siteState);
         }
      }
      if (debug) {
View Full Code Here

Examples of redis.clients.jedis.ShardedJedis.resetState()

  ShardedJedisPipeline pipeline = jedis.pipelined();

  pipeline.incr("pipelined");
  pipeline.incr("pipelined2");

  jedis.resetState();

  pipeline = jedis.pipelined();
  pipeline.incr("pipelined");
  pipeline.incr("pipelined2");
  List<Object> results = pipeline.syncAndReturnAll();
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.