Package org.geoserver.config.CoverageAccessInfo

Examples of org.geoserver.config.CoverageAccessInfo.QueueType


                //
                // Overriding values
                //
                // //
                final BlockingQueue<Runnable> queue = executor.getQueue();
                final QueueType queueType = coverageAccess.getQueueType();
               
                // If the queue type is the same, I can simply override the parameter settings.
                if ((queue instanceof LinkedBlockingQueue && queueType == QueueType.UNBOUNDED) ||
                   (queue instanceof SynchronousQueue && queueType == QueueType.DIRECT) ){
                    executor.setCorePoolSize(coverageAccess.getCorePoolSize());
View Full Code Here


                //
                // Overriding values
                //
                // //
                final BlockingQueue<Runnable> queue = executor.getQueue();
                final QueueType queueType = coverageAccess.getQueueType();
               
                // If the queue type is the same, I can simply override the parameter settings.
                if ((queue instanceof LinkedBlockingQueue && queueType == QueueType.UNBOUNDED) ||
                   (queue instanceof SynchronousQueue && queueType == QueueType.DIRECT) ){
                    executor.setCorePoolSize(coverageAccess.getCorePoolSize());
View Full Code Here

TOP

Related Classes of org.geoserver.config.CoverageAccessInfo.QueueType

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.