Package org.glassfish.jersey.spi

Examples of org.glassfish.jersey.spi.RuntimeThreadProvider


        private final RuntimeThreadProvider runtimeThreadProvider;

        @Inject
        public BackgroundSchedulerFactory(@Optional RuntimeThreadProvider rtp) {
            if (rtp == null) {
                rtp = new RuntimeThreadProvider() {
                    @Override
                    public ThreadFactory getRequestThreadFactory() {
                        return new ThreadFactoryBuilder()
                                .setNameFormat("jersey-request-specific-task-thread-%d")
                                .build();
View Full Code Here


        private final RuntimeThreadProvider runtimeThreadProvider;

        @Inject
        public BackgroundSchedulerFactory(@Optional RuntimeThreadProvider rtp) {
            if (rtp == null) {
                rtp = new RuntimeThreadProvider() {
                    @Override
                    public ThreadFactory getRequestThreadFactory() {
                        return new ThreadFactoryBuilder()
                                .setNameFormat("jersey-request-specific-task-thread-%d")
                                .build();
View Full Code Here

TOP

Related Classes of org.glassfish.jersey.spi.RuntimeThreadProvider

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.