Uses of Class
org.docx4j.com.google.common.annotations.GwtIncompatible
-
Uses of GwtIncompatible in org.docx4j.com.google.common.base
Methods in org.docx4j.com.google.common.base with annotations of type GwtIncompatible Modifier and Type Method Description java.time.DurationStopwatch. elapsed()Returns the current elapsed time shown on this stopwatch as aDuration.static <X extends java.lang.Throwable>
XThrowables. getCauseAs(java.lang.Throwable throwable, java.lang.Class<X> expectedCauseType)Returnsthrowable's cause, cast toexpectedCauseType.static java.lang.StringThrowables. getStackTraceAsString(java.lang.Throwable throwable)Returns a string containing the result oftoString(), followed by the full, recursive stack trace ofthrowable.static java.util.List<java.lang.StackTraceElement>Throwables. lazyStackTrace(java.lang.Throwable throwable)Returns the stack trace ofthrowable, possibly providing slower iteration over the full trace but faster iteration over parts of the trace.static booleanThrowables. lazyStackTraceIsLazy()Returns whetherThrowables.lazyStackTrace(java.lang.Throwable)will use the special implementation described in its documentation.static java.lang.RuntimeExceptionThrowables. propagate(java.lang.Throwable throwable)Deprecated.Usethrow eorthrow new RuntimeException(e)directly, or use a combination ofThrowables.throwIfUnchecked(java.lang.Throwable)andthrow new RuntimeException(e).static <X extends java.lang.Throwable>
voidThrowables. propagateIfInstanceOf(@Nullable java.lang.Throwable throwable, java.lang.Class<X> declaredType)Deprecated.UseThrowables.throwIfInstanceOf(java.lang.Throwable, java.lang.Class<X>), which has the same behavior but rejectsnull.static voidThrowables. propagateIfPossible(@Nullable java.lang.Throwable throwable)Deprecated.UseThrowables.throwIfUnchecked(java.lang.Throwable), which has the same behavior but rejectsnull.static <X extends java.lang.Throwable>
voidThrowables. propagateIfPossible(@Nullable java.lang.Throwable throwable, java.lang.Class<X> declaredType)Propagatesthrowableexactly as-is, if and only if it is an instance ofRuntimeException,Error, ordeclaredType.static <X1 extends java.lang.Throwable, X2 extends java.lang.Throwable>
voidThrowables. propagateIfPossible(@Nullable java.lang.Throwable throwable, java.lang.Class<X1> declaredType1, java.lang.Class<X2> declaredType2)Propagatesthrowableexactly as-is, if and only if it is an instance ofRuntimeException,Error,declaredType1, ordeclaredType2.static <X extends java.lang.Throwable>
voidThrowables. throwIfInstanceOf(java.lang.Throwable throwable, java.lang.Class<X> declaredType)Throwsthrowableif it is an instance ofdeclaredType. -
Uses of GwtIncompatible in org.docx4j.com.google.common.cache
Methods in org.docx4j.com.google.common.cache with annotations of type GwtIncompatible Modifier and Type Method Description CacheBuilder<K,V>CacheBuilder. expireAfterAccess(java.time.Duration duration)Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, the most recent replacement of its value, or its last access.CacheBuilder<K,V>CacheBuilder. expireAfterWrite(java.time.Duration duration)Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.CacheBuilder<K,V>CacheBuilder. maximumWeight(long maximumWeight)Specifies the maximum weight of entries the cache may contain.CacheBuilder<K,V>CacheBuilder. refreshAfterWrite(long duration, java.util.concurrent.TimeUnit unit)Specifies that active entries are eligible for automatic refresh once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.CacheBuilder<K,V>CacheBuilder. refreshAfterWrite(java.time.Duration duration)Specifies that active entries are eligible for automatic refresh once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.ListenableFuture<V>CacheLoader. reload(K key, V oldValue)Computes or retrieves a replacement value corresponding to an already-cachedkey.CacheBuilder<K,V>CacheBuilder. softValues()Specifies that each value (not key) stored in the cache should be wrapped in aSoftReference(by default, strong references are used).CacheBuilder<K,V>CacheBuilder. weakKeys()Specifies that each key (not value) stored in the cache should be wrapped in aWeakReference(by default, strong references are used).CacheBuilder<K,V>CacheBuilder. weakValues()Specifies that each value (not key) stored in the cache should be wrapped in aWeakReference(by default, strong references are used).<K1 extends K, V1 extends V>
CacheBuilder<K1,V1>CacheBuilder. weigher(Weigher<? super K1,? super V1> weigher)Specifies the weigher to use in determining the weight of entries. -
Uses of GwtIncompatible in org.docx4j.com.google.common.collect
Methods in org.docx4j.com.google.common.collect with annotations of type GwtIncompatible Modifier and Type Method Description static <T> T[]ObjectArrays. concat(T[] first, T[] second, java.lang.Class<T> type)Returns a new array that contains the concatenated contents of two arrays.static <E> intQueues. drain(java.util.concurrent.BlockingQueue<E> q, java.util.Collection<? super E> buffer, int numElements, long timeout, java.util.concurrent.TimeUnit unit)Drains the queue asBlockingQueue.drainTo(Collection, int), but if the requestednumElementselements are not available, it will wait for them up to the specified timeout.static <E> intQueues. drainUninterruptibly(java.util.concurrent.BlockingQueue<E> q, java.util.Collection<? super E> buffer, int numElements, long timeout, java.util.concurrent.TimeUnit unit)Drains the queue as Queues.drain(BlockingQueue, Collection, int, long, TimeUnit), but with a different behavior in case it is interrupted while waiting.static <T> T[]ObjectArrays. newArray(java.lang.Class<T> type, int length)Returns a new array of the given length with the specified component type.static <E> java.util.concurrent.ArrayBlockingQueue<E>Queues. newArrayBlockingQueue(int capacity)Creates an emptyArrayBlockingQueuewith the given (fixed) capacity and nonfair access policy.static <E> java.util.concurrent.ConcurrentLinkedQueue<E>Queues. newConcurrentLinkedQueue()Creates an emptyConcurrentLinkedQueue.static <E> java.util.concurrent.CopyOnWriteArraySet<E>Sets. newCopyOnWriteArraySet()Creates an emptyCopyOnWriteArraySetinstance.static <E> java.util.concurrent.LinkedBlockingDeque<E>Queues. newLinkedBlockingDeque()Creates an emptyLinkedBlockingDequewith a capacity ofInteger.MAX_VALUE.static <E> java.util.concurrent.LinkedBlockingDeque<E>Queues. newLinkedBlockingDeque(int capacity)Creates an emptyLinkedBlockingDequewith the given (fixed) capacity.static <E> java.util.concurrent.LinkedBlockingQueue<E>Queues. newLinkedBlockingQueue()Creates an emptyLinkedBlockingQueuewith a capacity ofInteger.MAX_VALUE.static <E> java.util.concurrent.LinkedBlockingQueue<E>Queues. newLinkedBlockingQueue(int capacity)Creates an emptyLinkedBlockingQueuewith the given (fixed) capacity.static <E extends java.lang.Comparable>
java.util.concurrent.PriorityBlockingQueue<E>Queues. newPriorityBlockingQueue()Creates an emptyPriorityBlockingQueuewith the ordering given by its elements' natural ordering.static <E> java.util.concurrent.SynchronousQueue<E>Queues. newSynchronousQueue()Creates an emptySynchronousQueuewith nonfair access policy. -
Uses of GwtIncompatible in org.docx4j.com.google.common.math
Methods in org.docx4j.com.google.common.math with annotations of type GwtIncompatible Modifier and Type Method Description static intIntMath. log10(int x, java.math.RoundingMode mode)Returns the base-10 logarithm ofx, rounded according to the specified rounding mode.static intIntMath. pow(int b, int k)Returnsbto thekth power.static intIntMath. sqrt(int x, java.math.RoundingMode mode)Returns the square root ofx, rounded with the specified rounding mode. -
Uses of GwtIncompatible in org.docx4j.com.google.common.util.concurrent
Classes in org.docx4j.com.google.common.util.concurrent with annotations of type GwtIncompatible Modifier and Type Class Description classAbstractListeningExecutorServiceAbstractListeningExecutorServiceimplementation that createsListenableFutureinstances for eachRunnableandCallablesubmitted to it.interfaceListeningExecutorServiceAnExecutorServicethat returnsListenableFutureinstances.interfaceListeningScheduledExecutorServiceAScheduledExecutorServicethat returnsListenableFutureinstances from itsExecutorServicemethods.Methods in org.docx4j.com.google.common.util.concurrent with annotations of type GwtIncompatible Modifier and Type Method Description static voidUninterruptibles. awaitUninterruptibly(java.util.concurrent.CountDownLatch latch)Invokeslatch.await()uninterruptibly.static booleanUninterruptibles. awaitUninterruptibly(java.util.concurrent.CountDownLatch latch, long timeout, java.util.concurrent.TimeUnit unit)Invokeslatch.await(timeout, unit)uninterruptibly.static booleanUninterruptibles. awaitUninterruptibly(java.util.concurrent.locks.Condition condition, long timeout, java.util.concurrent.TimeUnit unit)Invokescondition.await(timeout, unit)uninterruptibly.static <V> VUninterruptibles. getUninterruptibly(java.util.concurrent.Future<V> future, long timeout, java.util.concurrent.TimeUnit unit)Invokesfuture.get(timeout, unit)uninterruptibly.static voidUninterruptibles. joinUninterruptibly(java.lang.Thread toJoin)InvokestoJoin.join()uninterruptibly.static voidUninterruptibles. joinUninterruptibly(java.lang.Thread toJoin, long timeout, java.util.concurrent.TimeUnit unit)Invokesunit.timedJoin(toJoin, timeout)uninterruptibly.static ListeningExecutorServiceMoreExecutors. newDirectExecutorService()Creates an executor service that runs each task in the thread that invokesexecute/submit, as inThreadPoolExecutor.CallerRunsPolicyThis applies both to individually submitted tasks and to collections of tasks submitted viainvokeAllorinvokeAny.static java.util.concurrent.ThreadFactoryMoreExecutors. platformThreadFactory()Returns a default thread factory used to create new threads.static <E> voidUninterruptibles. putUninterruptibly(java.util.concurrent.BlockingQueue<E> queue, E element)Invokesqueue.put(element)uninterruptibly.static booleanMoreExecutors. shutdownAndAwaitTermination(java.util.concurrent.ExecutorService service, long timeout, java.util.concurrent.TimeUnit unit)Shuts down the given executor service gradually, first disabling new submissions and later, if necessary, cancelling remaining tasks.static voidUninterruptibles. sleepUninterruptibly(long sleepFor, java.util.concurrent.TimeUnit unit)Invokesunit.sleep(sleepFor)uninterruptibly.static <E> EUninterruptibles. takeUninterruptibly(java.util.concurrent.BlockingQueue<E> queue)Invokesqueue.take()uninterruptibly.static booleanUninterruptibles. tryAcquireUninterruptibly(java.util.concurrent.Semaphore semaphore, int permits, long timeout, java.util.concurrent.TimeUnit unit)Invokessemaphore.tryAcquire(permits, timeout, unit)uninterruptibly.static booleanUninterruptibles. tryAcquireUninterruptibly(java.util.concurrent.Semaphore semaphore, long timeout, java.util.concurrent.TimeUnit unit)Invokessemaphore.tryAcquire(1, timeout, unit)uninterruptibly.FluentFuture<V>FluentFuture. withTimeout(long timeout, java.util.concurrent.TimeUnit unit, java.util.concurrent.ScheduledExecutorService scheduledExecutor)Returns a future that delegates to this future but will finish early (via aTimeoutExceptionwrapped in anExecutionException) if the specified timeout expires.static <V> ListenableFuture<V>Futures. withTimeout(ListenableFuture<V> delegate, long time, java.util.concurrent.TimeUnit unit, java.util.concurrent.ScheduledExecutorService scheduledExecutor)Returns a future that delegates to another but will finish early (via aTimeoutExceptionwrapped in anExecutionException) if the specified duration expires.