Skip navigation links
A B C D E F G H I K M O R S T V 

A

addListener(PromiseListener<T>) - Method in class com.linkedin.parseq.batching.BatchImpl.BatchPromise
 
await() - Method in class com.linkedin.parseq.batching.BatchImpl.BatchPromise
 
await(long, TimeUnit) - Method in class com.linkedin.parseq.batching.BatchImpl.BatchPromise
 

B

Batch<K,T> - Interface in com.linkedin.parseq.batching
Batch represents a collection of keys related to each other in such a way that it is more efficient to compute values for those keys in bulk than computing value for each key individually.
batchable(String, K) - Method in class com.linkedin.parseq.batching.BatchingStrategy
This method returns Task that returns value for a single key allowing this strategy to batch operations.
batchable(K) - Method in class com.linkedin.parseq.batching.BatchingStrategy
This method returns Task that returns value for a single key allowing this strategy to batch operations.
BatchAggregationTimeMetric - Class in com.linkedin.parseq.batching
 
BatchAggregationTimeMetric() - Constructor for class com.linkedin.parseq.batching.BatchAggregationTimeMetric
 
BatchEntry(ShallowTraceBuilder, BatchImpl.BatchPromise<T>) - Constructor for class com.linkedin.parseq.batching.BatchImpl.BatchEntry
 
BatchImpl<K,T> - Class in com.linkedin.parseq.batching
 
BatchImpl.BatchEntry<T> - Class in com.linkedin.parseq.batching
 
BatchImpl.BatchPromise<T> - Class in com.linkedin.parseq.batching
Internal Promise delegate that decouples setting value on internal Promise from publishing result on external promise.
BatchingStrategy<G,K,T> - Class in com.linkedin.parseq.batching
BatchingStrategy helps build "batching clients" in ParSeq.
BatchingStrategy() - Constructor for class com.linkedin.parseq.batching.BatchingStrategy
 
BatchingSupport - Class in com.linkedin.parseq.batching
This class allows registering instances of BatchingStrategy.
BatchingSupport() - Constructor for class com.linkedin.parseq.batching.BatchingSupport
 
BatchPromise() - Constructor for class com.linkedin.parseq.batching.BatchImpl.BatchPromise
 
batchSize() - Method in interface com.linkedin.parseq.batching.Batch
Returns size of this batch.
batchSize() - Method in class com.linkedin.parseq.batching.BatchImpl
 
BatchSizeMetric - Class in com.linkedin.parseq.batching
 
BatchSizeMetric() - Constructor for class com.linkedin.parseq.batching.BatchSizeMetric
 

C

classify(K) - Method in class com.linkedin.parseq.batching.BatchingStrategy
Classify the K Key and by doing so assign it to a G group.
classify(K) - Method in class com.linkedin.parseq.batching.SimpleBatchingStrategy
 
classify(K) - Method in class com.linkedin.parseq.batching.SimpleTaskBatchingStrategy
 
com.linkedin.parseq.batching - package com.linkedin.parseq.batching
 

D

DEFAULT_MAX_BATCH_SIZE - Static variable in class com.linkedin.parseq.batching.BatchingStrategy
 
done(K, T) - Method in interface com.linkedin.parseq.batching.Batch
Completes a Promise associated with given key with a value.
done(T) - Method in class com.linkedin.parseq.batching.BatchImpl.BatchPromise
 
done(K, T) - Method in class com.linkedin.parseq.batching.BatchImpl
 

E

entries() - Method in interface com.linkedin.parseq.batching.Batch
 
entries() - Method in class com.linkedin.parseq.batching.BatchImpl
 
executeBatch(G, Batch<K, T>) - Method in class com.linkedin.parseq.batching.BatchingStrategy
This method will be called for every Batch.
executeBatch(SimpleBatchingStrategy.Group, Batch<K, T>) - Method in class com.linkedin.parseq.batching.SimpleBatchingStrategy
 
executeBatch(Batch<K, T>) - Method in class com.linkedin.parseq.batching.SimpleBatchingStrategy
This method will be called for a Batch.
executeBatch(G, Batch<K, T>) - Method in class com.linkedin.parseq.batching.TaskBatchingStrategy
 
executeBatchWithContext(G, Batch<K, T>, Context) - Method in class com.linkedin.parseq.batching.BatchingStrategy
 
executeBatchWithContext(G, Batch<K, T>, Context) - Method in class com.linkedin.parseq.batching.TaskBatchingStrategy
 

F

fail(K, Throwable) - Method in interface com.linkedin.parseq.batching.Batch
Fails a Promise associated with given key with an error.
fail(Throwable) - Method in class com.linkedin.parseq.batching.BatchImpl.BatchPromise
 
fail(K, Throwable) - Method in class com.linkedin.parseq.batching.BatchImpl
 
failAll(Throwable) - Method in interface com.linkedin.parseq.batching.Batch
Fails all promises belonging to this batch with given error.
failAll(Throwable) - Method in class com.linkedin.parseq.batching.BatchImpl
 
foreach(BiConsumer<K, SettablePromise<T>>) - Method in interface com.linkedin.parseq.batching.Batch
Performs the given action for each element of the batch until all elements have been processed or the action throws an exception.
foreach(BiConsumer<K, SettablePromise<T>>) - Method in class com.linkedin.parseq.batching.BatchImpl
 

G

get() - Method in class com.linkedin.parseq.batching.BatchImpl.BatchPromise
 
getBatchAggregationTimeMetric() - Method in class com.linkedin.parseq.batching.BatchingStrategy
 
getBatchName(G, Batch<K, T>) - Method in class com.linkedin.parseq.batching.BatchingStrategy
Overriding this method allows providing custom name for a batch.
getBatchName(SimpleBatchingStrategy.Group, Batch<K, T>) - Method in class com.linkedin.parseq.batching.SimpleBatchingStrategy
 
getBatchName(Batch<K, T>) - Method in class com.linkedin.parseq.batching.SimpleBatchingStrategy
Overriding this method allows providing custom name for a batch.
getBatchName(SimpleBatchingStrategy.Group, Set<K>) - Method in class com.linkedin.parseq.batching.SimpleTaskBatchingStrategy
 
getBatchName(Set<K>) - Method in class com.linkedin.parseq.batching.SimpleTaskBatchingStrategy
Overriding this method allows providing custom name for a batch.
getBatchName(G, Batch<K, T>) - Method in class com.linkedin.parseq.batching.TaskBatchingStrategy
 
getBatchName(G, Set<K>) - Method in class com.linkedin.parseq.batching.TaskBatchingStrategy
Overriding this method allows providing custom name for a batch.
getBatchSizeMetric() - Method in class com.linkedin.parseq.batching.BatchingStrategy
 
getError() - Method in class com.linkedin.parseq.batching.BatchImpl.BatchPromise
 
getInternal() - Method in class com.linkedin.parseq.batching.BatchImpl.BatchPromise
 
getOrDefault(T) - Method in class com.linkedin.parseq.batching.BatchImpl.BatchPromise
 
getPromise() - Method in class com.linkedin.parseq.batching.BatchImpl.BatchEntry
 

H

harvest(Function<Histogram, T>) - Method in class com.linkedin.parseq.batching.BatchAggregationTimeMetric
Allows consuming histogram and returning a result.
harvest(Function<Histogram, T>) - Method in class com.linkedin.parseq.batching.BatchSizeMetric
Allows consuming histogram and returning a result.

I

isDone() - Method in class com.linkedin.parseq.batching.BatchImpl.BatchPromise
 
isFailed() - Method in class com.linkedin.parseq.batching.BatchImpl.BatchPromise
 

K

keys() - Method in interface com.linkedin.parseq.batching.Batch
Returns set of keys belonging to this batch.
keys() - Method in class com.linkedin.parseq.batching.BatchImpl
 
keySize() - Method in interface com.linkedin.parseq.batching.Batch
Returns number of keys belonging to this batch.
keySize() - Method in class com.linkedin.parseq.batching.BatchImpl
 
keySize(G, K) - Method in class com.linkedin.parseq.batching.BatchingStrategy
Overriding this method allows specifying size of the key for a given group.

M

maxBatchSizeForGroup(G) - Method in class com.linkedin.parseq.batching.BatchingStrategy
Overriding this method allows specifying maximum batch size for a given group.

O

onPlanDeactivated(PlanContext) - Method in class com.linkedin.parseq.batching.BatchingSupport
 

R

record(long) - Method in class com.linkedin.parseq.batching.BatchAggregationTimeMetric
Records a batch aggregation time.
record(int) - Method in class com.linkedin.parseq.batching.BatchSizeMetric
Records a batch size.
registerStrategy(BatchingStrategy<?, ?, ?>) - Method in class com.linkedin.parseq.batching.BatchingSupport
Register an instance of BatchingStrategy.

S

SimpleBatchingStrategy<K,T> - Class in com.linkedin.parseq.batching
A simple BatchingStrategy that groups all keys into one batch.
SimpleBatchingStrategy() - Constructor for class com.linkedin.parseq.batching.SimpleBatchingStrategy
 
SimpleTaskBatchingStrategy<K,T> - Class in com.linkedin.parseq.batching
A simple TaskBatchingStrategy that groups all keys into one batch.
SimpleTaskBatchingStrategy() - Constructor for class com.linkedin.parseq.batching.SimpleTaskBatchingStrategy
 

T

TaskBatchingStrategy<G,K,T> - Class in com.linkedin.parseq.batching
This is a base class for a batching strategy that leverages existing Task-based API.
TaskBatchingStrategy() - Constructor for class com.linkedin.parseq.batching.TaskBatchingStrategy
 
taskForBatch(SimpleBatchingStrategy.Group, Set<K>) - Method in class com.linkedin.parseq.batching.SimpleTaskBatchingStrategy
 
taskForBatch(Set<K>) - Method in class com.linkedin.parseq.batching.SimpleTaskBatchingStrategy
This method will be called for every batch.
taskForBatch(G, Set<K>) - Method in class com.linkedin.parseq.batching.TaskBatchingStrategy
This method will be called for every batch.
toString() - Method in class com.linkedin.parseq.batching.BatchImpl
 
trigger() - Method in class com.linkedin.parseq.batching.BatchImpl.BatchPromise
 

V

values() - Method in interface com.linkedin.parseq.batching.Batch
 
values() - Method in class com.linkedin.parseq.batching.BatchImpl
 
A B C D E F G H I K M O R S T V 
Skip navigation links

Copyright © 2018. All rights reserved.