Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for synchronizedList (0.29 sec)

  1. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/CompletionServiceStub.java

    import org.apache.maven.lifecycle.internal.ProjectSegment;
    
    /**
     */
    public class CompletionServiceStub implements CompletionService<ProjectSegment> {
        List<FutureTask<ProjectSegment>> projectBuildFutureTasks = Collections.synchronizedList(new ArrayList<>());
    
        final boolean finishImmediately;
    
        public int size() {
            return projectBuildFutureTasks.size();
        }
    
        public CompletionServiceStub(boolean finishImmediately) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/MojoExecutorStub.java

    import org.apache.maven.project.MavenProject;
    
    /**
     */
    public class MojoExecutorStub extends MojoExecutor { // This is being lazy instead of making interface
    
        public final List<MojoExecution> executions = Collections.synchronizedList(new ArrayList<>());
    
        public MojoExecutorStub() {
            super(null, null, null, null, null, null);
        }
    
        public MojoExecutorStub(
                BuildPluginManager pluginManager,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

        return (list instanceof RandomAccess)
            ? new SynchronizedRandomAccessList<E>(list, mutex)
            : new SynchronizedList<E>(list, mutex);
      }
    
      static class SynchronizedList<E extends @Nullable Object> extends SynchronizedCollection<E>
          implements List<E> {
        SynchronizedList(List<E> delegate, @CheckForNull Object mutex) {
          super(delegate, mutex);
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

        protected int crawlerPriority = Thread.NORM_PRIORITY;
    
        protected final List<DataCrawlingThread> dataCrawlingThreadList = Collections.synchronizedList(new ArrayList<>());
    
        public void crawl(final String sessionId) {
            final List<DataConfig> configList = ComponentUtil.getCrawlingConfigHelper().getAllDataConfigList();
    
            if (configList.isEmpty()) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

      private static final LazyLogger logger = new LazyLogger(ListenerCallQueue.class);
    
      // TODO(chrisn): promote AppendOnlyCollection for use here.
      private final List<PerListenerQueue<L>> listeners =
          Collections.synchronizedList(new ArrayList<PerListenerQueue<L>>());
    
      /** Method reference-compatible listener event. */
      interface Event<L> {
        /** Call a method on the listener. */
        void call(L listener);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

        protected int indexUpdaterPriority = Thread.MAX_PRIORITY;
    
        protected int crawlerPriority = Thread.NORM_PRIORITY;
    
        protected final List<Crawler> crawlerList = Collections.synchronizedList(new ArrayList<>());
    
        public void crawl(final String sessionId, final List<String> webConfigIdList, final List<String> fileConfigIdList) {
            final boolean runAll = webConfigIdList == null && fileConfigIdList == null;
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

          )
        }
        val request =
          Request.Builder()
            .url(webServer.url("/"))
            .build()
        val attempts = CountDownLatch(20)
        val webSockets = Collections.synchronizedList(ArrayList<WebSocket>())
        val reconnectOnFailure: WebSocketListener =
          object : WebSocketListener() {
            override fun onFailure(
              webSocket: WebSocket,
              t: Throwable,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
Back to top