Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 253 for isSynchronized (0.08 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

        private final Map<TransferResourceIdentifier, TransferResourceAndSize> transfers = new LinkedHashMap<>();
        private final FileSizeFormat format = new FileSizeFormat(); // use in a synchronized fashion
        private final StringBuilder buffer = new StringBuilder(128); // use in a synchronized fashion
    
        private final boolean printResourceNames;
        private int lastLength;
    
        public ConsoleMavenTransferListener(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/eventbus/Subscriber.java

                bus.handleSubscriberException(e.getCause(), context(event));
              }
            });
      }
    
      /**
       * Invokes the subscriber method. This method can be overridden to make the invocation
       * synchronized.
       */
      @VisibleForTesting
      void invokeSubscriberMethod(Object event) throws InvocationTargetException {
        try {
          method.invoke(target, checkNotNull(event));
        } catch (IllegalArgumentException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/Handler.java

         *
         * @param factory The URL stream handler factory.
         */
        public static void setURLStreamHandlerFactory(
                URLStreamHandlerFactory factory) {
            synchronized (PROTOCOL_HANDLERS) {
                if (Handler.factory != null) {
                    throw new IllegalStateException(
                            "URLStreamHandlerFactory already set.");
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      public static TesterRequirements getTesterRequirements(Class<?> testerClass)
          throws ConflictingRequirementsException {
        synchronized (classTesterRequirementsCache) {
          TesterRequirements requirements = classTesterRequirementsCache.get(testerClass);
          if (requirements == null) {
            requirements = buildTesterRequirements(testerClass);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      public static TesterRequirements getTesterRequirements(Class<?> testerClass)
          throws ConflictingRequirementsException {
        synchronized (classTesterRequirementsCache) {
          TesterRequirements requirements = classTesterRequirementsCache.get(testerClass);
          if (requirements == null) {
            requirements = buildTesterRequirements(testerClass);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ingest/IngestFactory.java

    import org.apache.logging.log4j.Logger;
    
    public class IngestFactory {
        private static final Logger logger = LogManager.getLogger(IngestFactory.class);
    
        private Ingester[] ingesters = {};
    
        public synchronized void add(final Ingester ingester) {
            if (logger.isDebugEnabled()) {
                logger.debug("Loaded {}", ingester.getClass().getSimpleName());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

            final int idx = sessionId.indexOf('-');
            if (idx >= 0) {
                return sessionId.substring(0, idx);
            }
            return sessionId;
        }
    
        public synchronized void store(final String sessionId, final boolean create) {
            CrawlingInfo crawlingInfo = create ? null : getCrawlingInfoService().getLast(sessionId);
            if (crawlingInfo == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/Lmhosts.java

         * 
         * @param host
         * @param tc
         * @return resolved name, null if not found
         */
        public synchronized NbtAddress getByName ( String host, CIFSContext tc ) {
            return getByName(new Name(tc.getConfig(), host, 0x20, null), tc);
        }
    
    
        synchronized NbtAddress getByName ( Name name, CIFSContext tc ) {
            NbtAddress result = null;
    
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbCopyUtil.java

                throw this.e;
            }
        }
    
    
        synchronized void write ( byte[] buffer, int len, SmbFileOutputStream d ) {
            this.b = buffer;
            this.n = len;
            this.out = d;
            this.ready = false;
            notify();
        }
    
    
        @Override
        public void run () {
            synchronized ( this ) {
                try {
                    for ( ;; ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        Multimap<K, V> multimap = synchronizedMultimap(HashMultimap.<K, V>create());
        Collection<V> values = multimap.get(key); // Needn't be in synchronized block
        synchronized (multimap) { // Synchronizing on multimap, not values!
          Iterator<V> i = values.iterator(); // Must be in synchronized block
          while (i.hasNext()) {
            foo(i.next());
          }
        }
      }
    
      private static void foo(Object unused) {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
Back to top