Skip navigation links
A B C D E F G I L M N O Q R S T 

A

apply(K) - Method in class com.github.phantomthief.util.TickerBatchInvoker
 

B

batchBlocking() - Static method in interface com.github.phantomthief.collection.BufferTrigger
提供自带背压(back-pressure)的简单批量归并消费能力
batchBlockingTrigger() - Static method in interface com.github.phantomthief.collection.BufferTrigger
Deprecated.
BatchConsumeBlockingQueueTrigger<E> - Class in com.github.phantomthief.collection.impl
 
batchConsumerSize(int) - Method in class com.github.phantomthief.collection.impl.BatchConsumerTriggerBuilder
Deprecated.
batchConsumerSize(int) - Method in class com.github.phantomthief.collection.impl.GenericBatchConsumerTriggerBuilder
Deprecated.
BatchConsumerTriggerBuilder<E> - Class in com.github.phantomthief.collection.impl
 
BatchConsumerTriggerBuilder() - Constructor for class com.github.phantomthief.collection.impl.BatchConsumerTriggerBuilder
 
batchSize(int) - Method in class com.github.phantomthief.collection.impl.BatchConsumerTriggerBuilder
 
batchSize(int) - Method in class com.github.phantomthief.collection.impl.GenericBatchConsumerTriggerBuilder
 
bufferSize(int) - Method in class com.github.phantomthief.collection.impl.BatchConsumerTriggerBuilder
 
bufferSize(int) - Method in class com.github.phantomthief.collection.impl.GenericBatchConsumerTriggerBuilder
 
BufferTrigger<E> - Interface in com.github.phantomthief.collection
 
build() - Method in class com.github.phantomthief.collection.impl.BatchConsumerTriggerBuilder
 
build() - Method in class com.github.phantomthief.collection.impl.GenericBatchConsumerTriggerBuilder
 
build() - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
 
build() - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
 
build(ThrowableFunction<Collection<K>, Map<K, V>, ? extends Throwable>) - Method in class com.github.phantomthief.util.TickerBatchInvoker.Builder
 

C

canTrigger(long, long) - Method in class com.github.phantomthief.collection.impl.MultiIntervalTriggerStrategy
 
canTrigger(long, long) - Method in interface com.github.phantomthief.collection.impl.SimpleBufferTrigger.TriggerStrategy
 
com.github.phantomthief.collection - package com.github.phantomthief.collection
 
com.github.phantomthief.collection.impl - package com.github.phantomthief.collection.impl
 
com.github.phantomthief.util - package com.github.phantomthief.util
 
consumer(ThrowableConsumer<? super C, Throwable>) - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
 
consumer(ThrowableConsumer<? super C1, Throwable>) - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
 

D

disableSwitchLock() - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
disable internal switch lock for much more performances.
disableSwitchLock() - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
 

E

empty() - Static method in class com.github.phantomthief.collection.impl.SimpleBufferTrigger.TriggerResult
 
enableBackPressure() - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
开启背压(back-pressure)能力 注意,当开启背压时,需要配合 GenericSimpleBufferTriggerBuilder.maxBufferCount(long) 并且不要设置 GenericSimpleBufferTriggerBuilder.rejectHandler(java.util.function.Consumer<? super E>) 当buffer达到最大值时,会阻塞入队线程,直到消费完当前buffer后再继续执行
enableBackPressure() - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
开启背压(back-pressure)能力 注意,当开启背压时,需要配合 SimpleBufferTriggerBuilder.maxBufferCount(long) 并且不要设置 SimpleBufferTriggerBuilder.rejectHandler 当buffer达到最大值时,会阻塞入队线程,直到消费完当前buffer后再继续执行
enqueue(E) - Method in interface com.github.phantomthief.collection.BufferTrigger
 
enqueue(E) - Method in class com.github.phantomthief.collection.impl.BatchConsumeBlockingQueueTrigger
 
enqueue(E) - Method in class com.github.phantomthief.collection.impl.LazyBufferTrigger
 
enqueue(E) - Method in class com.github.phantomthief.collection.impl.SimpleBufferTrigger
 
executor(Executor) - Method in class com.github.phantomthief.util.TickerBatchInvoker.Builder
 

F

forceConsumeEveryTick() - Method in class com.github.phantomthief.collection.impl.BatchConsumerTriggerBuilder
Deprecated.
forceConsumeEveryTick() - Method in class com.github.phantomthief.collection.impl.GenericBatchConsumerTriggerBuilder
Deprecated.

G

GenericBatchConsumerTriggerBuilder<E> - Class in com.github.phantomthief.collection.impl
 
GenericBatchConsumerTriggerBuilder(BatchConsumerTriggerBuilder<Object>) - Constructor for class com.github.phantomthief.collection.impl.GenericBatchConsumerTriggerBuilder
 
GenericSimpleBufferTriggerBuilder<E,C> - Class in com.github.phantomthief.collection.impl
 
GenericSimpleBufferTriggerBuilder(SimpleBufferTriggerBuilder<Object, Object>) - Constructor for class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
 
getPendingChanges() - Method in interface com.github.phantomthief.collection.BufferTrigger
 
getPendingChanges() - Method in class com.github.phantomthief.collection.impl.BatchConsumeBlockingQueueTrigger
 
getPendingChanges() - Method in class com.github.phantomthief.collection.impl.LazyBufferTrigger
 
getPendingChanges() - Method in class com.github.phantomthief.collection.impl.SimpleBufferTrigger
 

I

interval(long, TimeUnit) - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
 
interval(LongSupplier, TimeUnit) - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
 
interval(long, TimeUnit) - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
 
interval(LongSupplier, TimeUnit) - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
 
intervalAtFixedRate(long, TimeUnit) - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
 

L

LazyBufferTrigger<E> - Class in com.github.phantomthief.collection.impl
 
linger(long, TimeUnit) - Method in class com.github.phantomthief.collection.impl.BatchConsumerTriggerBuilder
 
linger(Duration) - Method in class com.github.phantomthief.collection.impl.BatchConsumerTriggerBuilder
 
linger(long, TimeUnit) - Method in class com.github.phantomthief.collection.impl.GenericBatchConsumerTriggerBuilder
 
linger(Duration) - Method in class com.github.phantomthief.collection.impl.GenericBatchConsumerTriggerBuilder
 

M

manuallyDoTrigger() - Method in interface com.github.phantomthief.collection.BufferTrigger
 
manuallyDoTrigger() - Method in class com.github.phantomthief.collection.impl.BatchConsumeBlockingQueueTrigger
 
manuallyDoTrigger() - Method in class com.github.phantomthief.collection.impl.LazyBufferTrigger
 
manuallyDoTrigger() - Method in class com.github.phantomthief.collection.impl.SimpleBufferTrigger
 
maxBufferCount(long) - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
 
maxBufferCount(LongSupplier) - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
 
maxBufferCount(long, Consumer<? super E>) - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
 
maxBufferCount(long) - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
it's better dealing this in container
maxBufferCount(LongSupplier) - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
it's better dealing this in container
maxBufferCount(long, Consumer<? super E1>) - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
it's better dealing this in container
MultiIntervalTriggerStrategy - Class in com.github.phantomthief.collection.impl
trigger like redis's rdb save 900 1 save 300 10 save 60 10000
MultiIntervalTriggerStrategy() - Constructor for class com.github.phantomthief.collection.impl.MultiIntervalTriggerStrategy
 

N

name(String) - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
use for debug and stats, like trigger thread's name.
name(String) - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
use for debug and stats, like trigger thread's name.
newBuilder() - Static method in class com.github.phantomthief.collection.impl.BatchConsumeBlockingQueueTrigger
Deprecated.
newBuilder() - Static method in class com.github.phantomthief.collection.impl.SimpleBufferTrigger
Deprecated.
newBuilder() - Static method in class com.github.phantomthief.util.TickerBatchInvoker
 
newCounterBuilder() - Static method in class com.github.phantomthief.collection.impl.SimpleBufferTrigger
 
newGenericBuilder() - Static method in class com.github.phantomthief.collection.impl.SimpleBufferTrigger
Deprecated.

O

on(long, TimeUnit, long) - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
Deprecated.
on(long, TimeUnit, long) - Method in class com.github.phantomthief.collection.impl.MultiIntervalTriggerStrategy
 
on(long, TimeUnit, long) - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
Deprecated.

Q

queueCapacity(int) - Method in class com.github.phantomthief.collection.impl.BatchConsumerTriggerBuilder
Deprecated.
queueCapacity(int) - Method in class com.github.phantomthief.collection.impl.GenericBatchConsumerTriggerBuilder
Deprecated.

R

rejectHandler(Consumer<? super E>) - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
 
rejectHandler(Consumer<? super E1>) - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
it's better dealing this in container

S

setConsumer(Consumer<? super List<E1>>) - Method in class com.github.phantomthief.collection.impl.BatchConsumerTriggerBuilder
Deprecated.
setConsumer(Consumer<? super List<E>>) - Method in class com.github.phantomthief.collection.impl.GenericBatchConsumerTriggerBuilder
Deprecated.
setConsumerEx(ThrowableConsumer<? super List<E1>, Exception>) - Method in class com.github.phantomthief.collection.impl.BatchConsumerTriggerBuilder
 
setConsumerEx(ThrowableConsumer<? super List<E>, Exception>) - Method in class com.github.phantomthief.collection.impl.GenericBatchConsumerTriggerBuilder
 
setContainer(Supplier<? extends C>, BiPredicate<? super C, ? super E>) - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
setContainer(Supplier<? extends C1>, BiPredicate<? super C1, ? super E1>) - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
warning: the container must be thread-safe.
setContainerEx(Supplier<? extends C>, ToIntBiFunction<? super C, ? super E>) - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
 
setContainerEx(Supplier<? extends C1>, ToIntBiFunction<? super C1, ? super E1>) - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
warning: the container must be thread-safed.
setExceptionHandler(BiConsumer<? super Throwable, ? super List<E1>>) - Method in class com.github.phantomthief.collection.impl.BatchConsumerTriggerBuilder
 
setExceptionHandler(BiConsumer<? super Throwable, ? super List<E>>) - Method in class com.github.phantomthief.collection.impl.GenericBatchConsumerTriggerBuilder
 
setExceptionHandler(BiConsumer<? super Throwable, ? super C>) - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
 
setExceptionHandler(BiConsumer<? super Throwable, ? super C1>) - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
 
setQueue(BlockingQueue<? extends E>) - Method in class com.github.phantomthief.collection.impl.BatchConsumerTriggerBuilder
Deprecated.
setQueue(BlockingQueue<? extends E>) - Method in class com.github.phantomthief.collection.impl.GenericBatchConsumerTriggerBuilder
Deprecated.
setScheduleExecutorService(ScheduledExecutorService) - Method in class com.github.phantomthief.collection.impl.BatchConsumerTriggerBuilder
 
setScheduleExecutorService(ScheduledExecutorService) - Method in class com.github.phantomthief.collection.impl.GenericBatchConsumerTriggerBuilder
 
setScheduleExecutorService(ScheduledExecutorService) - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
 
setScheduleExecutorService(ScheduledExecutorService) - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
 
simple() - Static method in interface com.github.phantomthief.collection.BufferTrigger
 
SimpleBufferTrigger<E,C> - Class in com.github.phantomthief.collection.impl
 
SimpleBufferTrigger.TriggerResult - Class in com.github.phantomthief.collection.impl
 
SimpleBufferTrigger.TriggerStrategy - Interface in com.github.phantomthief.collection.impl
 
SimpleBufferTriggerBuilder<E,C> - Class in com.github.phantomthief.collection.impl
 
SimpleBufferTriggerBuilder() - Constructor for class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
 
simpleTrigger() - Static method in interface com.github.phantomthief.collection.BufferTrigger
Deprecated.

T

threads(int) - Method in class com.github.phantomthief.util.TickerBatchInvoker.Builder
 
ticker(long, TimeUnit) - Method in class com.github.phantomthief.util.TickerBatchInvoker.Builder
 
TickerBatchInvoker<K,V> - Class in com.github.phantomthief.util
 
TickerBatchInvoker.Builder - Class in com.github.phantomthief.util
 
tickTime(long, TimeUnit) - Method in class com.github.phantomthief.collection.impl.BatchConsumerTriggerBuilder
Deprecated.
tickTime(long, TimeUnit) - Method in class com.github.phantomthief.collection.impl.GenericBatchConsumerTriggerBuilder
Deprecated.
trig(boolean, long) - Static method in class com.github.phantomthief.collection.impl.SimpleBufferTrigger.TriggerResult
 
triggerStrategy(SimpleBufferTrigger.TriggerStrategy) - Method in class com.github.phantomthief.collection.impl.GenericSimpleBufferTriggerBuilder
 
triggerStrategy(SimpleBufferTrigger.TriggerStrategy) - Method in class com.github.phantomthief.collection.impl.SimpleBufferTriggerBuilder
 
A B C D E F G I L M N O Q R S T 
Skip navigation links

Copyright © 2019. All rights reserved.