Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for executor_ (0.15 sec)

  1. src/test/java/jcifs/tests/WatchTest.java

        @Before
        public void setUp () throws Exception {
            super.setUp();
            this.executor = Executors.newSingleThreadExecutor();
            this.base = createTestDirectory();
        }
    
    
        @Override
        @After
        public void tearDown () throws Exception {
            if ( this.executor != null ) {
                this.executor.shutdown();
                if ( this.future != null ) {
                    this.future.cancel(true);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ConcurrencyTest.java

        }
    
    
        @Override
        @Before
        public void setUp () throws Exception {
            super.setUp();
            this.executor = Executors.newCachedThreadPool();
        }
    
    
        @After
        @Override
        public void tearDown () throws Exception {
            this.executor.shutdown();
            this.executor.awaitTermination(10, TimeUnit.SECONDS);
            super.tearDown();
        }
    
    
        @Test
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
Back to top