Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

add(ProducerBatch) - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ExpiredBatches
 
adjust(String) - Method in class com.aliyun.openservices.aliyun.log.producer.ShardHashAdjuster
 
append(String, String, String, String, String, List<LogItem>, Callback) - Method in class com.aliyun.openservices.aliyun.log.producer.internals.LogAccumulator
 
appendAttempt(Attempt) - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
assertArgumentNotNull(Object, String) - Static method in class com.aliyun.openservices.aliyun.log.producer.internals.Utils
 
assertArgumentNotNullOrEmpty(String, String) - Static method in class com.aliyun.openservices.aliyun.log.producer.internals.Utils
 
Attempt - Class in com.aliyun.openservices.aliyun.log.producer
Represents one attempt at writing a batch of logs to the backend.
Attempt(boolean, String, String, String, long) - Constructor for class com.aliyun.openservices.aliyun.log.producer.Attempt
 
availableMemoryInBytes() - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
 
availableMemoryInBytes() - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
awaitTermination(long, TimeUnit) - Method in class com.aliyun.openservices.aliyun.log.producer.internals.IOThreadPool
 

B

BAD_RESPONSE - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.RetriableErrors
 
BatchHandler - Class in com.aliyun.openservices.aliyun.log.producer.internals
 
BatchHandler(String, BlockingQueue<ProducerBatch>, AtomicInteger, Semaphore) - Constructor for class com.aliyun.openservices.aliyun.log.producer.internals.BatchHandler
 
BUCKETS_LOWER_LIMIT - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
BUCKETS_UPPER_LIMIT - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 

C

calculate(LogItem) - Static method in class com.aliyun.openservices.aliyun.log.producer.internals.LogSizeCalculator
 
calculate(List<LogItem>) - Static method in class com.aliyun.openservices.aliyun.log.producer.internals.LogSizeCalculator
 
Callback - Interface in com.aliyun.openservices.aliyun.log.producer
A callback interface that the user can implement to allow code to execute when the request is complete.
close() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.BatchHandler
 
close() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.LogAccumulator
 
close() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.Mover
 
close() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.RetryQueue
 
close() - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
Close this producer.
close(long) - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
This method waits up to timeoutMs for the producer to handle all submitted logs and close all background threads.
close() - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
close(long) - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
com.aliyun.openservices.aliyun.log.producer - package com.aliyun.openservices.aliyun.log.producer
 
com.aliyun.openservices.aliyun.log.producer.errors - package com.aliyun.openservices.aliyun.log.producer.errors
 
com.aliyun.openservices.aliyun.log.producer.internals - package com.aliyun.openservices.aliyun.log.producer.internals
 
compareTo(Delayed) - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 

D

daemon(String, Runnable) - Static method in class com.aliyun.openservices.aliyun.log.producer.internals.LogThread
 
DEFAULT_BASE_RETRY_BACKOFF_MS - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
DEFAULT_BATCH_COUNT_THRESHOLD - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
DEFAULT_BATCH_SIZE_THRESHOLD_IN_BYTES - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
DEFAULT_BUCKETS - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
DEFAULT_IO_THREAD_COUNT - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
DEFAULT_LINGER_MS - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
DEFAULT_LOG_FORMAT - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
DEFAULT_MAX_BLOCK_MS - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
DEFAULT_MAX_RETRY_BACKOFF_MS - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
DEFAULT_RETRIES - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
DEFAULT_TOTAL_SIZE_IN_BYTES - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
DEFAULT_USER_AGENT - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProjectConfig
 

E

equals(Object) - Method in class com.aliyun.openservices.aliyun.log.producer.internals.GroupKey
 
Errors - Class in com.aliyun.openservices.aliyun.log.producer.errors
Retries for the errors below are useless.
Errors() - Constructor for class com.aliyun.openservices.aliyun.log.producer.errors.Errors
 
EXCEED_QUOTA - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.RetriableErrors
 
ExpiredBatches - Class in com.aliyun.openservices.aliyun.log.producer.internals
 
ExpiredBatches() - Constructor for class com.aliyun.openservices.aliyun.log.producer.internals.ExpiredBatches
 
expiredBatches() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.LogAccumulator
 
expiredBatches(long) - Method in class com.aliyun.openservices.aliyun.log.producer.internals.RetryQueue
 

F

fireCallbacksAndSetFutures() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 

G

generatePackageId(String, AtomicLong) - Static method in class com.aliyun.openservices.aliyun.log.producer.internals.Utils
 
generateProducerHash(int) - Static method in class com.aliyun.openservices.aliyun.log.producer.internals.Utils
 
getAccessKeyId() - Method in class com.aliyun.openservices.aliyun.log.producer.ProjectConfig
 
getAccessKeySecret() - Method in class com.aliyun.openservices.aliyun.log.producer.ProjectConfig
 
getAttemptCount() - Method in class com.aliyun.openservices.aliyun.log.producer.Result
 
getBaseRetryBackoffMs() - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
getBatchCount() - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
 
getBatchCount() - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
getBatchCountThreshold() - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
getBatches() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ExpiredBatches
 
getBatchSizeThresholdInBytes() - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
getBuckets() - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
getCurBatchSizeInBytes() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
getDelay(TimeUnit) - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
getEndpoint() - Method in class com.aliyun.openservices.aliyun.log.producer.ProjectConfig
 
getErrorCode() - Method in class com.aliyun.openservices.aliyun.log.producer.Attempt
 
getErrorCode() - Method in exception com.aliyun.openservices.aliyun.log.producer.errors.ResultFailedException
 
getErrorCode() - Method in class com.aliyun.openservices.aliyun.log.producer.Result
 
getErrorMessage() - Method in class com.aliyun.openservices.aliyun.log.producer.Attempt
 
getErrorMessage() - Method in exception com.aliyun.openservices.aliyun.log.producer.errors.ResultFailedException
 
getErrorMessage() - Method in class com.aliyun.openservices.aliyun.log.producer.Result
 
getGroupKey() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
getIoThreadCount() - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
getKey() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.GroupKey
 
getLingerMs() - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
getLogFormat() - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
getLogItems() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
getLogStore() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.GroupKey
 
getLogStore() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
getMaxBlockMs() - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
getMaxReservedAttempts() - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
getMaxRetryBackoffMs() - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
getNextRetryMs() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
getPackageId() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
getProducerConfig() - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
 
getProducerConfig() - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
getProject() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.GroupKey
 
getProject() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
getProject() - Method in class com.aliyun.openservices.aliyun.log.producer.ProjectConfig
 
getRemainingMs() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ExpiredBatches
 
getRequestId() - Method in class com.aliyun.openservices.aliyun.log.producer.Attempt
 
getReservedAttempts() - Method in exception com.aliyun.openservices.aliyun.log.producer.errors.ResultFailedException
 
getReservedAttempts() - Method in class com.aliyun.openservices.aliyun.log.producer.Result
 
getResult() - Method in exception com.aliyun.openservices.aliyun.log.producer.errors.ResultFailedException
 
getRetries() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
getRetries() - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
getShardHash() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.GroupKey
 
getShardHash() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
getSource() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.GroupKey
 
getSource() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
getStsToken() - Method in class com.aliyun.openservices.aliyun.log.producer.ProjectConfig
 
getTimestampMs() - Method in class com.aliyun.openservices.aliyun.log.producer.Attempt
 
getTopic() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.GroupKey
 
getTopic() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
getTotalSizeInBytes() - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
getUserAgent() - Method in class com.aliyun.openservices.aliyun.log.producer.ProjectConfig
 
GroupKey - Class in com.aliyun.openservices.aliyun.log.producer.internals
 
GroupKey(String, String, String, String, String) - Constructor for class com.aliyun.openservices.aliyun.log.producer.internals.GroupKey
 

H

hashCode() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.GroupKey
 

I

INTERNAL_SERVER_ERROR - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.RetriableErrors
 
IOThreadPool - Class in com.aliyun.openservices.aliyun.log.producer.internals
 
IOThreadPool(int, String) - Constructor for class com.aliyun.openservices.aliyun.log.producer.internals.IOThreadPool
 
isAdjustShardHash() - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
isClosed() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.BatchHandler
 
isClosed() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.LogAccumulator
 
isClosed() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.RetryQueue
 
isMeetSendCondition() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
isPowerOfTwo(int) - Static method in class com.aliyun.openservices.aliyun.log.producer.ShardHashAdjuster
 
isSuccess() - Method in class com.aliyun.openservices.aliyun.log.producer.Attempt
 
isSuccessful() - Method in class com.aliyun.openservices.aliyun.log.producer.Result
 
isTerminated() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.IOThreadPool
 

L

LINGER_MS_LOWER_LIMIT - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
LogAccumulator - Class in com.aliyun.openservices.aliyun.log.producer.internals
 
LogAccumulator(String, ProducerConfig, Map<String, Client>, Semaphore, RetryQueue, BlockingQueue<ProducerBatch>, BlockingQueue<ProducerBatch>, IOThreadPool, AtomicInteger) - Constructor for class com.aliyun.openservices.aliyun.log.producer.internals.LogAccumulator
 
LogProducer - Class in com.aliyun.openservices.aliyun.log.producer
A client that send logs to the Aliyun Log Service.
LogProducer(ProducerConfig) - Constructor for class com.aliyun.openservices.aliyun.log.producer.LogProducer
Start up a LogProducer instance.
LogSizeCalculator - Class in com.aliyun.openservices.aliyun.log.producer.internals
 
LogSizeCalculator() - Constructor for class com.aliyun.openservices.aliyun.log.producer.internals.LogSizeCalculator
 
LogSizeTooLargeException - Exception in com.aliyun.openservices.aliyun.log.producer.errors
The log's size is larger than the maximum allowable size.
LogSizeTooLargeException() - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.LogSizeTooLargeException
 
LogSizeTooLargeException(String, Throwable) - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.LogSizeTooLargeException
 
LogSizeTooLargeException(String) - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.LogSizeTooLargeException
 
LogSizeTooLargeException(Throwable) - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.LogSizeTooLargeException
 
LOGSTORE_NOT_EXISTS - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.RetriableErrors
 
LogThread - Class in com.aliyun.openservices.aliyun.log.producer.internals
 
LogThread(String, boolean) - Constructor for class com.aliyun.openservices.aliyun.log.producer.internals.LogThread
 
LogThread(String, Runnable, boolean) - Constructor for class com.aliyun.openservices.aliyun.log.producer.internals.LogThread
 

M

MAX_BATCH_COUNT - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
MAX_BATCH_SIZE_IN_BYTES - Static variable in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
MaxBatchCountExceedException - Exception in com.aliyun.openservices.aliyun.log.producer.errors
The logs exceeds the maximum batch count.
MaxBatchCountExceedException() - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.MaxBatchCountExceedException
 
MaxBatchCountExceedException(String, Throwable) - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.MaxBatchCountExceedException
 
MaxBatchCountExceedException(String) - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.MaxBatchCountExceedException
 
MaxBatchCountExceedException(Throwable) - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.MaxBatchCountExceedException
 
MISS_ACCESS_KEY_ID - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.Errors
 
Mover - Class in com.aliyun.openservices.aliyun.log.producer.internals
 
Mover(String, ProducerConfig, Map<String, Client>, LogAccumulator, RetryQueue, BlockingQueue<ProducerBatch>, BlockingQueue<ProducerBatch>, IOThreadPool, AtomicInteger) - Constructor for class com.aliyun.openservices.aliyun.log.producer.internals.Mover
 

N

nonDaemon(String, Runnable) - Static method in class com.aliyun.openservices.aliyun.log.producer.internals.LogThread
 

O

onCompletion(Result) - Method in interface com.aliyun.openservices.aliyun.log.producer.Callback
A callback method the user can implement to provide asynchronous handling of request completion.

P

Producer - Interface in com.aliyun.openservices.aliyun.log.producer
The interface for the LogProducer
PRODUCER_EXCEPTION - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.Errors
 
ProducerBatch - Class in com.aliyun.openservices.aliyun.log.producer.internals
 
ProducerBatch(GroupKey, String, int, int, int, long) - Constructor for class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
ProducerConfig - Class in com.aliyun.openservices.aliyun.log.producer
Configuration for LogProducer.
ProducerConfig() - Constructor for class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
 
ProducerConfig.LogFormat - Enum in com.aliyun.openservices.aliyun.log.producer
 
ProducerException - Exception in com.aliyun.openservices.aliyun.log.producer.errors
The base class of all other producer exceptions.
ProducerException(String, Throwable) - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.ProducerException
 
ProducerException(String) - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.ProducerException
 
ProducerException(Throwable) - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.ProducerException
 
ProducerException() - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.ProducerException
 
PROJECT_CONFIG_NOT_EXIST - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.Errors
 
PROJECT_NOT_EXIST - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.Errors
 
PROJECT_NOT_EXISTS - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.RetriableErrors
 
ProjectConfig - Class in com.aliyun.openservices.aliyun.log.producer
Configuration for project.
ProjectConfig(String, String, String, String) - Constructor for class com.aliyun.openservices.aliyun.log.producer.ProjectConfig
 
ProjectConfig(String, String, String, String, String) - Constructor for class com.aliyun.openservices.aliyun.log.producer.ProjectConfig
 
ProjectConfig(String, String, String, String, String, String) - Constructor for class com.aliyun.openservices.aliyun.log.producer.ProjectConfig
 
put(ProducerBatch) - Method in class com.aliyun.openservices.aliyun.log.producer.internals.RetryQueue
 
putProjectConfig(ProjectConfig) - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
Add or update a project config.
putProjectConfig(ProjectConfig) - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer

R

remainingBatches() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.LogAccumulator
 
remainingBatches() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.RetryQueue
 
remainingMs(long, long) - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
removeProjectConfig(ProjectConfig) - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
Remove a project config.
removeProjectConfig(ProjectConfig) - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
REQUEST_ERROR - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.RetriableErrors
 
REQUEST_TIME_TOO_SKEWED - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.Errors
 
Result - Class in com.aliyun.openservices.aliyun.log.producer
Result(boolean, List<Attempt>, int) - Constructor for class com.aliyun.openservices.aliyun.log.producer.Result
 
ResultFailedException - Exception in com.aliyun.openservices.aliyun.log.producer.errors
 
ResultFailedException(Result) - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.ResultFailedException
 
RetriableErrors - Class in com.aliyun.openservices.aliyun.log.producer.errors
The errors below are transient exceptions that if retried may succeed.
RetriableErrors() - Constructor for class com.aliyun.openservices.aliyun.log.producer.errors.RetriableErrors
 
RetryQueue - Class in com.aliyun.openservices.aliyun.log.producer.internals
 
RetryQueue() - Constructor for class com.aliyun.openservices.aliyun.log.producer.internals.RetryQueue
 
run() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.BatchHandler
 
run() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.Mover
 
run() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.SendProducerBatchTask
 

S

send(String, String, LogItem) - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
Send a log asynchronously.
send(String, String, List<LogItem>) - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
Send a list of logs asynchronously.
send(String, String, String, String, LogItem) - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
Send a log asynchronously.
send(String, String, String, String, List<LogItem>) - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
Send a list of logs asynchronously.
send(String, String, String, String, String, LogItem) - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
Send a log asynchronously.
send(String, String, String, String, String, List<LogItem>) - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
Send a list of logs asynchronously.
send(String, String, LogItem, Callback) - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
Send a log asynchronously.
send(String, String, List<LogItem>, Callback) - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
Send a list of logs asynchronously.
send(String, String, String, String, LogItem, Callback) - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
Send a log asynchronously.
send(String, String, String, String, List<LogItem>, Callback) - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
Send a list of logs asynchronously.
send(String, String, String, String, String, LogItem, Callback) - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
Send a log asynchronously.
send(String, String, String, String, String, List<LogItem>, Callback) - Method in class com.aliyun.openservices.aliyun.log.producer.LogProducer
Asynchronously send a list of logs and invoke the provided callback when the send has been acknowledged.
send(String, String, LogItem) - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
send(String, String, List<LogItem>) - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
send(String, String, String, String, LogItem) - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
send(String, String, String, String, List<LogItem>) - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
send(String, String, String, String, String, LogItem) - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
send(String, String, String, String, String, List<LogItem>) - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
send(String, String, LogItem, Callback) - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
send(String, String, List<LogItem>, Callback) - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
send(String, String, String, String, LogItem, Callback) - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
send(String, String, String, String, List<LogItem>, Callback) - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
send(String, String, String, String, String, LogItem, Callback) - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
send(String, String, String, String, String, List<LogItem>, Callback) - Method in interface com.aliyun.openservices.aliyun.log.producer.Producer
SendProducerBatchTask - Class in com.aliyun.openservices.aliyun.log.producer.internals
 
SendProducerBatchTask(ProducerBatch, ProducerConfig, Map<String, Client>, RetryQueue, BlockingQueue<ProducerBatch>, BlockingQueue<ProducerBatch>, AtomicInteger) - Constructor for class com.aliyun.openservices.aliyun.log.producer.internals.SendProducerBatchTask
 
SERVER_BUSY - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.RetriableErrors
 
setAdjustShardHash(boolean) - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
Specify whether to adjust shard hash.
setBaseRetryBackoffMs(long) - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
Set the amount of time to wait before attempting to retry a failed request for the first time.
setBatchCountThreshold(int) - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
Set the batch count threshold.
setBatchSizeThresholdInBytes(int) - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
Set the batch size threshold.
setBuckets(int) - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
Set the buckets of the shard hash.
setIoThreadCount(int) - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
Set the thread count of the background I/O thread pool.
setLingerMs(int) - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
Set the max linger time of a log.
setLogFormat(ProducerConfig.LogFormat) - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
Set the content type of the request.
setMaxBlockMs(long) - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
Set how long LogProducer.send() will block.
setMaxReservedAttempts(int) - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
Set how many Attempts will be reserved in a Result.
setMaxRetryBackoffMs(long) - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
Set the upper limit of time to wait before attempting to retry a failed request.
setNextRetryMs(long) - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
setRemainingMs(long) - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ExpiredBatches
 
setRetries(int) - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
Set the retry times for transient error.
setTotalSizeInBytes(int) - Method in class com.aliyun.openservices.aliyun.log.producer.ProducerConfig
Set the total bytes of memory the producer can use to buffer logs waiting to be sent to the server.
SHARD_WRITE_QUOTA_EXCEED - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.RetriableErrors
 
ShardHashAdjuster - Class in com.aliyun.openservices.aliyun.log.producer
 
ShardHashAdjuster(int) - Constructor for class com.aliyun.openservices.aliyun.log.producer.ShardHashAdjuster
 
shutdown() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.IOThreadPool
 
SIGNATURE_NOT_MATCH - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.Errors
 
SIGNATURE_NOT_MATCH - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.RetriableErrors
 
SOCKET_TIMEOUT - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.RetriableErrors
 
submit(SendProducerBatchTask) - Method in class com.aliyun.openservices.aliyun.log.producer.internals.IOThreadPool
 

T

TimeoutException - Exception in com.aliyun.openservices.aliyun.log.producer.errors
Indicates that a request timed out.
TimeoutException() - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.TimeoutException
 
TimeoutException(String, Throwable) - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.TimeoutException
 
TimeoutException(String) - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.TimeoutException
 
TimeoutException(Throwable) - Constructor for exception com.aliyun.openservices.aliyun.log.producer.errors.TimeoutException
 
toString() - Method in class com.aliyun.openservices.aliyun.log.producer.Attempt
 
toString() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.GroupKey
 
toString() - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
toString() - Method in class com.aliyun.openservices.aliyun.log.producer.Result
 
tryAppend(LogItem, int, Callback) - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 
tryAppend(List<LogItem>, int, Callback) - Method in class com.aliyun.openservices.aliyun.log.producer.internals.ProducerBatch
 

U

UNAUTHORIZED - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.RetriableErrors
 
Utils - Class in com.aliyun.openservices.aliyun.log.producer.internals
 
Utils() - Constructor for class com.aliyun.openservices.aliyun.log.producer.internals.Utils
 

V

valueOf(String) - Static method in enum com.aliyun.openservices.aliyun.log.producer.ProducerConfig.LogFormat
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.aliyun.openservices.aliyun.log.producer.ProducerConfig.LogFormat
Returns an array containing the constants of this enum type, in the order they are declared.

W

WRITE_QUOTA_EXCEED - Static variable in class com.aliyun.openservices.aliyun.log.producer.errors.RetriableErrors
 
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2023. All rights reserved.