Examples of maxIdleTimeMillis()


Examples of com.github.overengineer.scope.conversation.annotations.BeginConversation.maxIdleTimeMillis()

                        if (LOG.isDebugEnabled()) {
                            LOG.debug("Adding method [{}] as a Begin Action for conversation [{}]", methodName, conversation);
                        }
                        if (method.isAnnotationPresent(BeginConversation.class)) {
                            BeginConversation config = method.getAnnotation(BeginConversation.class);
                            long maxIdle = config.maxIdleTimeMillis();
                            if (maxIdle == -1L) {
                                maxIdle = this.maxIdleTimeMillis;
                            }
                            int maxInstance = config.maxInstances();
                            if (maxInstance == 0) {
View Full Code Here

Examples of com.google.code.rees.scope.conversation.annotations.BeginConversation.maxIdleTimeMillis()

                       
                        //yeah this code just got placed here because it was easy - again, this class and the arbitrator just need overhauling (but thats a lot of work!)
                        long maxIdleTime = this.maxIdleTimeMillis;
                    if (method.isAnnotationPresent(BeginConversation.class)) {
                      BeginConversation beginConversation = method.getAnnotation(BeginConversation.class);
                      maxIdleTime = beginConversation.maxIdleTimeMillis();
                    }
                   
                    if (LOG.isDebugEnabled()) {
                            LOG.debug("Adding method " + methodName + " as a Begin Action to ConversationConfiguration for Conversation " + conversation + " with a timeout of " + maxIdleTime / 1000 + " seconds.");
                        }
View Full Code Here

Examples of com.google.code.rees.scope.conversation.annotations.BeginConversation.maxIdleTimeMillis()

                       
                        //yeah this code just got placed here because it was easy - again, this class and the arbitrator just need overhauling (but thats a lot of work!)
                        long maxIdleTime = this.maxIdleTimeMillis;
                    if (method.isAnnotationPresent(BeginConversation.class)) {
                      BeginConversation beginConversation = method.getAnnotation(BeginConversation.class);
                      maxIdleTime = beginConversation.maxIdleTimeMillis();
                    }
                        configuration.addBeginAction(methodName, maxIdleTime);
                    }
                }
               
View Full Code Here

Examples of com.google.code.rees.scope.conversation.annotations.BeginConversation.maxIdleTimeMillis()

                       
                        //yeah this code just got placed here because it was easy - again, this class and the arbitrator just need overhauling (but thats a lot of work!)
                        long maxIdleTime = ConversationConstants.DEFAULT_CONVERSATION_MAX_IDLE_TIME;
                    if (method.isAnnotationPresent(BeginConversation.class)) {
                      BeginConversation beginConversation = method.getAnnotation(BeginConversation.class);
                      maxIdleTime = beginConversation.maxIdleTimeMillis();
                    }
                        configuration.addBeginAction(methodName, maxIdleTime);
                    }
                }
               
View Full Code Here

Examples of com.google.code.rees.scope.conversation.annotations.BeginConversation.maxIdleTimeMillis()

                       
                        //yeah this code just got placed here because it was easy - again, this class and the arbitrator just need overhauling (but thats a lot of work!)
                        long maxIdleTime = this.maxIdleTimeMillis;
                    if (method.isAnnotationPresent(BeginConversation.class)) {
                      BeginConversation beginConversation = method.getAnnotation(BeginConversation.class);
                      if (beginConversation.maxIdleTimeMillis() != -1L) {
                        maxIdleTime = beginConversation.maxIdleTimeMillis();
                      }
                    }
                   
                    if (LOG.isDebugEnabled()) {
View Full Code Here

Examples of com.google.code.rees.scope.conversation.annotations.BeginConversation.maxIdleTimeMillis()

                        //yeah this code just got placed here because it was easy - again, this class and the arbitrator just need overhauling (but thats a lot of work!)
                        long maxIdleTime = this.maxIdleTimeMillis;
                    if (method.isAnnotationPresent(BeginConversation.class)) {
                      BeginConversation beginConversation = method.getAnnotation(BeginConversation.class);
                      if (beginConversation.maxIdleTimeMillis() != -1L) {
                        maxIdleTime = beginConversation.maxIdleTimeMillis();
                      }
                    }
                   
                    if (LOG.isDebugEnabled()) {
                            LOG.debug("Adding method " + methodName + " as a Begin Action to ConversationClassConfigurationImpl for Conversation " + conversation + " with a timeout of " + maxIdleTime / 1000 + " seconds.");
View Full Code Here

Examples of com.google.code.rees.scope.conversation.annotations.BeginConversation.maxIdleTimeMillis()

                       
                        //yeah this code just got placed here because it was easy - again, this class and the arbitrator just need overhauling (but thats a lot of work!)
                        long maxIdleTime = this.maxIdleTimeMillis;
                    if (method.isAnnotationPresent(BeginConversation.class)) {
                      BeginConversation beginConversation = method.getAnnotation(BeginConversation.class);
                      if (beginConversation.maxIdleTimeMillis() != -1L) {
                        maxIdleTime = beginConversation.maxIdleTimeMillis();
                      }
                    }
                   
                    if (LOG.isDebugEnabled()) {
View Full Code Here

Examples of com.google.code.rees.scope.conversation.annotations.BeginConversation.maxIdleTimeMillis()

                        //yeah this code just got placed here because it was easy - again, this class and the arbitrator just need overhauling (but thats a lot of work!)
                        long maxIdleTime = this.maxIdleTimeMillis;
                    if (method.isAnnotationPresent(BeginConversation.class)) {
                      BeginConversation beginConversation = method.getAnnotation(BeginConversation.class);
                      if (beginConversation.maxIdleTimeMillis() != -1L) {
                        maxIdleTime = beginConversation.maxIdleTimeMillis();
                      }
                    }
                   
                    if (LOG.isDebugEnabled()) {
                            LOG.debug("Adding method " + methodName + " as a Begin Action to ConversationClassConfigurationImpl for Conversation " + conversation + " with a timeout of " + maxIdleTime / 1000 + " seconds.");
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.