Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- abort() - Method in class io.aiven.commons.util.timing.Timer
-
Aborts the timer.
- abortTrigger - Variable in class io.aiven.commons.util.timing.Backoff
-
A function to call to abort the timer.
- AbortTrigger - Interface in io.aiven.commons.util.timing
-
A functional interface that will abort the timer.
- add(K) - Method in class io.aiven.commons.util.collections.RingBuffer
-
Adds a new item if it is not already present.
- addTo(U) - Method in class io.aiven.commons.util.collections.ExtendedIterator
-
A method to add the remaining elements in the iterator an arbitrary collection.
- ALLOW - Enum constant in enum class io.aiven.commons.util.collections.RingBuffer.DuplicateHandling
-
Allow duplicates in the buffer.
- allowed(EnvCheck.Type, String) - Static method in class io.aiven.commons.util.system.EnvCheck
-
Checks if the URL is allowed as per the
org.apache.kafka.sasl.oauthbearer.allowed.urlsenvironment variable. - allowed(SystemCheck.Type, String) - Static method in class io.aiven.commons.util.system.SystemCheck
-
Checks if the URL is allowed as per the
org.apache.kafka.sasl.oauthbearer.allowed.urlsenvironment variable. - andThen(Iterator<X>) - Method in class io.aiven.commons.util.collections.ExtendedIterator
-
Chains the
otheriterator to the end of this one. - apply() - Method in interface io.aiven.commons.util.timing.AbortTrigger
-
Aborts the associated trigger.
- applyTimerRule() - Method in interface io.aiven.commons.util.timing.BackoffConfig
-
Gets the abort timer rule flag.
- as(CasedString.StringCase) - Method in class io.aiven.commons.util.strings.CasedString
-
Creates a new cased string from this one but with the new case.
- asBytes(double) - Method in enum class io.aiven.commons.util.collections.Scale
-
Gets the number of bytes found in the specified number of units.
- asMilliseconds(double) - Method in enum class io.aiven.commons.util.collections.TimeScale
-
Gets the number of milliseconds in the
unitcountnumber of TimeUnits. - assemble(String[]) - Method in class io.aiven.commons.util.strings.CasedString.StringCase
-
Creates a cased string from a collection of segments.
B
- B - Enum constant in enum class io.aiven.commons.util.collections.Scale
-
A byte.
- Backoff - Class in io.aiven.commons.util.timing
-
Performs a delay based on the number of successive
Backoff.delay()orBackoff.cleanDelay()calls without aBackoff.reset(). - Backoff(BackoffConfig) - Constructor for class io.aiven.commons.util.timing.Backoff
-
Constructor.
- BackoffConfig - Interface in io.aiven.commons.util.timing
-
An interface to define the Backoff configuration.
- bytes - Variable in enum class io.aiven.commons.util.collections.Scale
-
The number of bytes in a single unit of the scale.
C
- CAMEL - Static variable in class io.aiven.commons.util.strings.CasedString.StringCase
-
Camel case tags strings like 'CamelCase' or 'camelCase'.
- CasedString - Class in io.aiven.commons.util.strings
-
Handles converting from one string case to another (e.g. camel case to snake case).
- CasedString(CasedString.StringCase, String) - Constructor for class io.aiven.commons.util.strings.CasedString
-
A representation of a cased string and the identified case of that string.
- CasedString(CasedString.StringCase, String[]) - Constructor for class io.aiven.commons.util.strings.CasedString
-
A representation of a cased string and the identified case of that string.
- CasedString.StringCase - Class in io.aiven.commons.util.strings
-
An enumeration of supported string cases.
- cleanDelay() - Method in class io.aiven.commons.util.timing.Backoff
-
Like
Backoff.delay()but swallows theInterruptedException. - CMD - Enum constant in enum class io.aiven.commons.util.system.EnvCheck.Type
-
validate an external command is in the list of commands
- CMD - Enum constant in enum class io.aiven.commons.util.system.SystemCheck.Type
-
validate an external command is in the list of commands
- compress(byte[]) - Method in enum class io.aiven.commons.util.io.compression.CompressionType
-
Compresses a byte array
- compress(OutputStream) - Method in enum class io.aiven.commons.util.io.compression.CompressionType
-
Compresses an output stream.
- CompressionType - Enum Class in io.aiven.commons.util.io.compression
-
Enumeration of standard compression types along with methods to compress and decompress standard file extensions for the type.
- contains(K) - Method in class io.aiven.commons.util.collections.RingBuffer
-
Determines if the item is in the buffer.
- create(Iterator<T>) - Static method in class io.aiven.commons.util.collections.ExtendedIterator
-
Answer an ExtendedIterator returning the elements of
it. - create(Stream<T>) - Static method in class io.aiven.commons.util.collections.ExtendedIterator
-
Answer an ExtendedIterator wrapped round a
Stream. - createNoRemove(Iterator<T>) - Static method in class io.aiven.commons.util.collections.ExtendedIterator
-
Answer an ExtendedIterator wrapped round
it, which does not permit.remove()even ifitdoes.
D
- DAYS - Enum constant in enum class io.aiven.commons.util.collections.TimeScale
-
days
- decompress(byte[]) - Method in enum class io.aiven.commons.util.io.compression.CompressionType
-
Decompresses a byte array.
- decompress(InputStream) - Method in enum class io.aiven.commons.util.io.compression.CompressionType
-
Decompresses an input stream.
- decompress(IOSupplier<InputStream>) - Method in enum class io.aiven.commons.util.io.compression.CompressionType
-
Decompresses an input stream wrapped in an IOSupplier.
- delay() - Method in class io.aiven.commons.util.timing.Backoff
-
Delay execution based on the number of times this method has been called.
- DELETE - Enum constant in enum class io.aiven.commons.util.collections.RingBuffer.DuplicateHandling
-
Move the duplicate entry to the tail of the buffer.
- displayValue(long) - Method in enum class io.aiven.commons.util.collections.Scale
-
Creates a String using the scale. if the scale is not
Scale.Bthen it is followed by the number of bytes within a set of parenthesis. - displayValue(long) - Method in enum class io.aiven.commons.util.collections.TimeScale
-
Format the number of milliseconds in this TimeScale along with the number of Milliseconds.
- DOT - Static variable in class io.aiven.commons.util.strings.CasedString.StringCase
-
Dot case tags phrases of words like 'phrase.case'.
E
- emptyIterator() - Static method in class io.aiven.commons.util.collections.ExtendedIterator
-
An empty Extended iterator
- EnvCheck - Class in io.aiven.commons.util.system
-
Checks URLs against the URLs allowed as per the
org.apache.kafka.sasl.oauthbearer.allowed.urlsenvironment variable. - EnvCheck.Type - Enum Class in io.aiven.commons.util.system
-
The type of object being checked.
- envVar() - Method in enum class io.aiven.commons.util.system.EnvCheck.Type
-
Get the environment variable name for this type.
- equals(Object) - Method in class io.aiven.commons.util.collections.RingBuffer
- estimatedDelay() - Method in class io.aiven.commons.util.timing.Backoff
-
Calculates the delay without jitter.
- ExtendedIterator<T> - Class in io.aiven.commons.util.collections
-
An ExtendedIterator is an Iterator wrapping around a plain (or presented as plain) Iterator.
- extension() - Method in enum class io.aiven.commons.util.io.compression.CompressionType
-
Gets the file name extension associated with the compression.
F
- FILE - Enum constant in enum class io.aiven.commons.util.system.EnvCheck.Type
-
validate a file name is in the list of files
- FILE - Enum constant in enum class io.aiven.commons.util.system.SystemCheck.Type
-
validate a file name is in the list of files
- filter(Predicate<T>) - Method in class io.aiven.commons.util.collections.ExtendedIterator
-
Filter this iterator using a predicate.
- flatten(Iterator<Iterator<T>>) - Static method in class io.aiven.commons.util.collections.ExtendedIterator
-
Given an Iterator that returns Iterators, this creates an Iterator over the next level values.
- forEachRemaining(Consumer<? super T>) - Method in class io.aiven.commons.util.collections.ExtendedIterator
- format(long) - Method in enum class io.aiven.commons.util.collections.Scale
-
Formats the
byteCountat this scale. - format(long) - Method in enum class io.aiven.commons.util.collections.TimeScale
-
Format the number of milliseconds into this TimeScale.
- formatError(EnvCheck.Type, String) - Static method in class io.aiven.commons.util.system.EnvCheck
-
Format the error message for the specified URL.
- formatError(SystemCheck.Type, String) - Static method in class io.aiven.commons.util.system.SystemCheck
-
Format the error message for the specified URL.
- forName(String) - Static method in enum class io.aiven.commons.util.io.compression.CompressionType
-
Gets the compression type for the specified name.
G
- GB - Enum constant in enum class io.aiven.commons.util.collections.Scale
-
SI Scale Gigabttes
- GCPValidator - Class in io.aiven.commons.util.google.auth
-
Validates credential information for the Google Cloud Platform.
- get() - Method in interface io.aiven.commons.util.timing.SupplierOfLong
-
Gets the long value.
- getAbortTrigger() - Method in interface io.aiven.commons.util.timing.BackoffConfig
-
The AbortTrigger that will abort the timer or otherwise signal that the backoff has reached the maximum delay and will no longer sleep.
- getBackoffConfig() - Method in class io.aiven.commons.util.timing.Timer
-
Gets a Backoff Config for this timer.
- getEnvVars() - Static method in class io.aiven.commons.util.system.EnvCheck
-
Return an updatable version of the environment variables.
- getMaxJitter() - Method in class io.aiven.commons.util.timing.Backoff
-
Calculates the range of jitter in milliseconds.
- getNextEjected() - Method in class io.aiven.commons.util.collections.RingBuffer
-
Gets the next item to be ejected.
- getReason(int) - Static method in class io.aiven.commons.util.strings.HttpStrings
-
Obtains the reason phrase for a status code.
- getSegments() - Method in class io.aiven.commons.util.strings.CasedString
-
Returns an array of each of the segments in this CasedString.
- getSegments(String) - Method in class io.aiven.commons.util.strings.CasedString.StringCase
-
Returns an array of each of the segments in this CasedString.
- getSpecTitle() - Method in class io.aiven.commons.util.system.VersionInfo
-
Gets the specification title of the package.
- getSpecVendor() - Method in class io.aiven.commons.util.system.VersionInfo
-
Gets the specification vendor of the package.
- getSpecVersion() - Method in class io.aiven.commons.util.system.VersionInfo
-
Gets the specification version of the package.
- getSupplierOfTimeRemaining() - Method in interface io.aiven.commons.util.timing.BackoffConfig
-
Gets Supplier that will return the number of milliseconds remaining in the timer.
- getSystemProperty() - Method in enum class io.aiven.commons.util.system.SystemCheck.Type
-
Get the environment variable name for this type.
- getTitle() - Method in class io.aiven.commons.util.system.VersionInfo
-
Gets the implementation title of the package.
- getVendor() - Method in class io.aiven.commons.util.system.VersionInfo
-
Gets the implementation vendor of the package.
- getVersion() - Method in class io.aiven.commons.util.system.VersionInfo
-
Gets the implementation version of the package.
- GiB - Enum constant in enum class io.aiven.commons.util.collections.Scale
-
IEC Scale Gigabytes (2 ^ 30)
- GZIP - Enum constant in enum class io.aiven.commons.util.io.compression.CompressionType
-
GZIP compression
H
- hashCode() - Method in class io.aiven.commons.util.collections.RingBuffer
- hasNext() - Method in class io.aiven.commons.util.collections.ExtendedIterator
- head() - Method in class io.aiven.commons.util.collections.RingBuffer
-
Returns but does not remove the head of the buffer.
- HOURS - Enum constant in enum class io.aiven.commons.util.collections.TimeScale
-
hours
- HttpStatus - Class in io.aiven.commons.util.strings
-
Constants enumerating the HTTP status codes.
- HttpStrings - Class in io.aiven.commons.util.strings
-
English reason phrases for HTTP status codes.
I
- IEC - Static variable in enum class io.aiven.commons.util.collections.Scale
-
The International Electrotechnical Commission (IEC) standardized binary prefixes.
- io.aiven.commons.util - module io.aiven.commons.util
-
Collections module def
- io.aiven.commons.util.collections - package io.aiven.commons.util.collections
-
Aiven enhancements and implementations for the Apache Commons collections and genral Java collections libraries.
- io.aiven.commons.util.google.auth - package io.aiven.commons.util.google.auth
- io.aiven.commons.util.io.compression - package io.aiven.commons.util.io.compression
- io.aiven.commons.util.strings - package io.aiven.commons.util.strings
- io.aiven.commons.util.system - package io.aiven.commons.util.system
- io.aiven.commons.util.timing - package io.aiven.commons.util.timing
- isExpired() - Method in class io.aiven.commons.util.timing.Timer
-
Returns
trueif the timer has expired. - isFull() - Method in class io.aiven.commons.util.collections.RingBuffer
-
Returns
trueif the buffer is full.
J
- JITTER_SUBTRAHEND - Static variable in class io.aiven.commons.util.timing.Backoff
-
The value subtracted from the jitter to center it.
K
- KB - Enum constant in enum class io.aiven.commons.util.collections.Scale
-
SI scale Kilobytes bytes
- KEBAB - Static variable in class io.aiven.commons.util.strings.CasedString.StringCase
-
Kebab case tags strings like 'kebab-case'.
- KiB - Enum constant in enum class io.aiven.commons.util.collections.Scale
-
IEC Scale Kilobytes (2 ^ 10).
M
- main(String[]) - Static method in class io.aiven.commons.util.system.VersionInfo
-
Main class to print version information.
- map(Function<T, U>) - Method in class io.aiven.commons.util.collections.ExtendedIterator
-
Map the elements of the iterator to a now type.
- MAX_JITTER - Static variable in class io.aiven.commons.util.timing.Backoff
-
The maximum jitter random number.
- MB - Enum constant in enum class io.aiven.commons.util.collections.Scale
-
SI scale Megabytes
- MiB - Enum constant in enum class io.aiven.commons.util.collections.Scale
-
IEC Scale Megabytes (2 ^ 20)
- milliseconds - Variable in enum class io.aiven.commons.util.collections.TimeScale
-
The number of milliseconds in one TimeUnit.
- MILLISECONDS - Enum constant in enum class io.aiven.commons.util.collections.TimeScale
-
milliseconds
- millisecondsRemaining() - Method in class io.aiven.commons.util.timing.Timer
-
Gets the maximum duration for this timer.
- MINUTES - Enum constant in enum class io.aiven.commons.util.collections.TimeScale
-
minutes
N
- next() - Method in class io.aiven.commons.util.collections.ExtendedIterator
- NONE - Enum constant in enum class io.aiven.commons.util.io.compression.CompressionType
-
No compression
O
- of(String) - Method in class io.aiven.commons.util.strings.Version
-
Retrieve a string for the property as defined in the property file.
P
- PASCAL - Static variable in class io.aiven.commons.util.strings.CasedString.StringCase
-
Camel case tags strings like 'PascalCase' or 'pascalCase'.
- PB - Enum constant in enum class io.aiven.commons.util.collections.Scale
-
SI Scale Petabytes
- PHRASE - Static variable in class io.aiven.commons.util.strings.CasedString.StringCase
-
Phrase case tags phrases of words like 'phrase case'.
- PiB - Enum constant in enum class io.aiven.commons.util.collections.Scale
-
IEC Scale Petabytes (2 ^ 50)
R
- REJECT - Enum constant in enum class io.aiven.commons.util.collections.RingBuffer.DuplicateHandling
-
Reject (do not add) duplicates to the buffer.
- remove() - Method in class io.aiven.commons.util.collections.ExtendedIterator
- remove(K) - Method in class io.aiven.commons.util.collections.RingBuffer
-
Removes a single instance of the item from the buffer.
- removeNext() - Method in class io.aiven.commons.util.collections.ExtendedIterator
-
Returns the next item and removes it from the iterator.
- reset() - Method in class io.aiven.commons.util.timing.Backoff
-
Reset the backoff time so that delay is again at the minimum.
- reset() - Method in class io.aiven.commons.util.timing.Timer
- RingBuffer<K> - Class in io.aiven.commons.util.collections
-
Implements a ring buffer of items.
- RingBuffer(int) - Constructor for class io.aiven.commons.util.collections.RingBuffer
-
Create a Ring Buffer of a maximum size that rejects duplicates.
- RingBuffer(int, RingBuffer.DuplicateHandling) - Constructor for class io.aiven.commons.util.collections.RingBuffer
-
Create a Ring Buffer of specified maximum size and potentially allowing duplicates.
- RingBuffer(int, RingBuffer.DuplicateHandling, Comparator<K>) - Constructor for class io.aiven.commons.util.collections.RingBuffer
-
Create a Ring Buffer of specified maximum size and potentially allowing duplicates.
- RingBuffer.DuplicateHandling - Enum Class in io.aiven.commons.util.collections
-
How to handle the duplicates in the buffer.
S
- SC_ACCEPTED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
202 Accepted(HTTP Semantics) - SC_ALREADY_REPORTED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
208 Already Reported(WebDAV - RFC 5842, p.30, section 7.1) - SC_BAD_GATEWAY - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
502 Bad Gateway(HTTP Semantics) - SC_BAD_REQUEST - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
400 Bad Request(HTTP Semantics) - SC_CLIENT_ERROR - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
4xx Client Error(HTTP Semantics) - SC_CONFLICT - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
409 Conflict(HTTP Semantics) - SC_CONTINUE - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
100 Continue(HTTP Semantics) - SC_CREATED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
201 Created(HTTP Semantics) - SC_EARLY_HINTS - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
103 Early Hints (Early Hints - RFC 8297) - SC_EXPECTATION_FAILED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
417 Expectation Failed(HTTP Semantics) - SC_FAILED_DEPENDENCY - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
424 Failed Dependency(WebDAV - RFC 2518) - SC_FORBIDDEN - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
403 Forbidden(HTTP Semantics) - SC_GATEWAY_TIMEOUT - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
504 Gateway Timeout(HTTP Semantics) - SC_GONE - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
410 Gone(HTTP Semantics) - SC_HTTP_VERSION_NOT_SUPPORTED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
505 HTTP Version Not Supported(HTTP Semantics) - SC_IM_USED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
226 IM Used(Delta encoding in HTTP - RFC 3229, p. 30, section 10.4.1) - SC_INFORMATIONAL - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
100 1xx Informational(HTTP Semantics) - SC_INSUFFICIENT_SPACE_ON_RESOURCE - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
Static constant for a 419 error.
- SC_INSUFFICIENT_STORAGE - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
507 Insufficient Storage(WebDAV - RFC 2518) - SC_INTERNAL_SERVER_ERROR - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
500 Internal Server Error(HTTP Semantics) - SC_LENGTH_REQUIRED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
411 Length Required(HTTP Semantics) - SC_LOCKED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
423 Locked(WebDAV - RFC 2518) - SC_LOOP_DETECTED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
508 Loop Detected(WebDAV - RFC 5842, p.33, section 7.2) - SC_METHOD_FAILURE - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
Static constant for a 420 error.
- SC_METHOD_NOT_ALLOWED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
405 Method Not Allowed(HTTP Semantics) - SC_MISDIRECTED_REQUEST - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
421 Misdirected Request(HTTP Semantics) - SC_MOVED_PERMANENTLY - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
301 Moved Permanently(HTTP Semantics) - SC_MOVED_TEMPORARILY - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
302 Moved Temporarily(SometimesFound) (HTTP Semantics) - SC_MULTI_STATUS - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
207 Multi-Status(WebDAV - RFC 2518) or207 Partial Update OK(HTTP/1.1 - draft-ietf-http-v11-spec-rev-01?) - SC_MULTIPLE_CHOICES - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
300 Multiple Choices(HTTP Semantics) - SC_NETWORK_AUTHENTICATION_REQUIRED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
511 Network Authentication Required(Additional HTTP Status Codes - RFC 6585) - SC_NO_CONTENT - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
204 No Content(HTTP Semantics) - SC_NON_AUTHORITATIVE_INFORMATION - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
203 Non Authoritative Information(HTTP Semantics) - SC_NOT_ACCEPTABLE - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
406 Not Acceptable(HTTP Semantics) - SC_NOT_EXTENDED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
510 Not Extended(An HTTP Extension Framework - RFC 2774, p. 10, section 7) - SC_NOT_FOUND - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
404 Not Found(HTTP Semantics) - SC_NOT_IMPLEMENTED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
501 Not Implemented(HTTP Semantics) - SC_NOT_MODIFIED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
304 Not Modified(HTTP Semantics) - SC_OK - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
200 OK(HTTP Semantics) - SC_PARTIAL_CONTENT - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
206 Partial Content(HTTP Semantics) - SC_PAYMENT_REQUIRED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
402 Payment Required(HTTP Semantics) - SC_PERMANENT_REDIRECT - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
308 Permanent Redirect(HTTP Semantics) - SC_PRECONDITION_FAILED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
412 Precondition Failed(HTTP Semantics) - SC_PRECONDITION_REQUIRED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
428 Precondition Required(Additional HTTP Status Codes - RFC 6585) - SC_PROCESSING - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
102 Processing(WebDAV - RFC 2518) - SC_PROXY_AUTHENTICATION_REQUIRED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
407 Proxy Authentication Required(HTTP Semantics) - SC_REDIRECTION - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
3xx Redirection(HTTP Semantics) - SC_REQUEST_HEADER_FIELDS_TOO_LARGE - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
431 Request Header Fields Too Large(Additional HTTP Status Codes - RFC 6585) - SC_REQUEST_TIMEOUT - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
408 Request Timeout(HTTP Semantics) - SC_REQUEST_TOO_LONG - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
413 Request Entity Too Large(HTTP Semantics) - SC_REQUEST_URI_TOO_LONG - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
414 Request-URI Too Long(HTTP Semantics) - SC_REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
416 Requested Range Not Satisfiable(HTTP Semantics) - SC_RESET_CONTENT - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
205 Reset Content(HTTP Semantics) - SC_SEE_OTHER - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
303 See Other(HTTP Semantics) - SC_SERVER_ERROR - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
500 Server Error(HTTP Semantics) - SC_SERVICE_UNAVAILABLE - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
503 Service Unavailable(HTTP Semantics) - SC_SUCCESS - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
2xx Success(HTTP Semantics) - SC_SWITCHING_PROTOCOLS - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
101 Switching Protocols(HTTP Semantics) - SC_TEMPORARY_REDIRECT - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
307 Temporary Redirect(HTTP Semantics) - SC_TOO_EARLY - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
425 Too Early(Using Early Data in HTTP - RFC 8470) - SC_TOO_MANY_REQUESTS - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
429 Too Many Requests(Additional HTTP Status Codes - RFC 6585) - SC_UNAUTHORIZED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
401 Unauthorized(HTTP Semantics) - SC_UNAVAILABLE_FOR_LEGAL_REASONS - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
451 Unavailable For Legal Reasons(Legal Obstacles - RFC 7725) - SC_UNPROCESSABLE_CONTENT - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
422 Unprocessable Content(HTTP Semantics) - SC_UNPROCESSABLE_ENTITY - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
Deprecated.
- SC_UNSUPPORTED_MEDIA_TYPE - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
415 Unsupported Media Type(HTTP Semantics) - SC_UPGRADE_REQUIRED - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
426 Upgrade Required(HTTP Semantics) - SC_USE_PROXY - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
305 Use Proxy(HTTP Semantics) - SC_VARIANT_ALSO_NEGOTIATES - Static variable in class io.aiven.commons.util.strings.HttpStatus
-
506 Variant Also Negotiates( Transparent Content Negotiation - RFC 2295) - Scale - Enum Class in io.aiven.commons.util.collections
-
A collection of byte prefixes with conversions and formatting.
- scaleOf(long) - Static method in enum class io.aiven.commons.util.collections.TimeScale
-
Returns the largest TimeScale that will represent
millisecondswith at least 1 unit. - scaleOf(long, List<Scale>) - Static method in enum class io.aiven.commons.util.collections.Scale
-
Determines the scale of the number of bytes.
- SECONDS - Enum constant in enum class io.aiven.commons.util.collections.TimeScale
-
seconds
- setMinimumDelay(Duration) - Method in class io.aiven.commons.util.timing.Backoff
-
Set the minimum wait time.
- SI - Static variable in enum class io.aiven.commons.util.collections.Scale
-
The SI standardized prefix scales.
- simpleJoiner(char) - Static method in class io.aiven.commons.util.strings.CasedString.StringCase
-
Creates a function to join a String array with a character delimiter.
- size(int) - Static method in enum class io.aiven.commons.util.collections.TimeScale
-
Formats the milliseconds into a TimeScale that best fits the number of milliseconds.
- size(int, List<Scale>) - Static method in enum class io.aiven.commons.util.collections.Scale
-
Creates a formatted string for the scale that most closely represents the byteCount.
- SLASH - Static variable in class io.aiven.commons.util.strings.CasedString.StringCase
-
Slash case tags phrases of words like 'phrase.case'.
- SNAKE - Static variable in class io.aiven.commons.util.strings.CasedString.StringCase
-
Snake case tags strings like 'Snake_Case'.
- SNAPPY - Enum constant in enum class io.aiven.commons.util.io.compression.CompressionType
-
Snappy compression
- start() - Method in class io.aiven.commons.util.timing.Timer
- stop() - Method in class io.aiven.commons.util.timing.Timer
- StringCase(String, char) - Constructor for class io.aiven.commons.util.strings.CasedString.StringCase
-
Create a simple string case for the delimiter.
- StringCase(String, Predicate<Character>, boolean, Function<String[], String>) - Constructor for class io.aiven.commons.util.strings.CasedString.StringCase
-
Defines a String Case.
- StringCase(String, Predicate<Character>, boolean, Function<String[], String>, Function<String, String>) - Constructor for class io.aiven.commons.util.strings.CasedString.StringCase
-
Defines a String Case.
- SupplierOfLong - Interface in io.aiven.commons.util.timing
-
A functional interface to return long values.
- SystemCheck - Class in io.aiven.commons.util.system
-
Checks URLs against the URLs allowed as per the
org.apache.kafka.sasl.oauthbearer.allowed.urlsenvironment variable. - SystemCheck.Type - Enum Class in io.aiven.commons.util.system
-
The type of object being checked.
T
- tail() - Method in class io.aiven.commons.util.collections.RingBuffer
-
Returns but does not remove the teal of the buffer.
- TB - Enum constant in enum class io.aiven.commons.util.collections.Scale
-
SI Scale Terabytes
- throwIfNotAllowed(EnvCheck.Type, String) - Static method in class io.aiven.commons.util.system.EnvCheck
-
Thorw an exception if the specified URL is not listed in the
org.apache.kafka.sasl.oauthbearer.allowed.urlsenvironment variable. - throwIfNotAllowed(SystemCheck.Type, String) - Static method in class io.aiven.commons.util.system.SystemCheck
-
Throw an exception if the specified URL is not listed in the system property.
- TiB - Enum constant in enum class io.aiven.commons.util.collections.Scale
-
IEC Scale Terabytes (2 ^ 40)
- Timer - Class in io.aiven.commons.util.timing
-
Calculates elapsed time and flags when expired.
- Timer(Duration) - Constructor for class io.aiven.commons.util.timing.Timer
-
Constructor.
- timeRemaining - Variable in class io.aiven.commons.util.timing.Backoff
-
A supplier of the time remaining (in milliseconds) on the overriding timer.
- TimeScale - Enum Class in io.aiven.commons.util.collections
-
Scales milliseconds into standard human time units and standard human time units into milliseconds.
- toCase(CasedString.StringCase) - Method in class io.aiven.commons.util.strings.CasedString
-
Converts this cased string into a
Stringof another format. - toString() - Method in class io.aiven.commons.util.collections.RingBuffer
- toString() - Method in class io.aiven.commons.util.strings.CasedString.StringCase
- toString() - Method in class io.aiven.commons.util.strings.CasedString
-
Returns the string representation provided in the constructor.
- toString() - Method in class io.aiven.commons.util.system.VersionInfo
-
Default string representation of the implementation information from the package.
- toString() - Method in class io.aiven.commons.util.timing.Backoff
U
- unitName() - Method in enum class io.aiven.commons.util.collections.TimeScale
-
Gets the name of the units for this TimeScale.
- units(int) - Method in enum class io.aiven.commons.util.collections.Scale
-
Formats the
byteCountat this scale. - units(int) - Method in enum class io.aiven.commons.util.collections.TimeScale
-
Format the number of units of this TimeScale for output.
- URI - Enum constant in enum class io.aiven.commons.util.system.EnvCheck.Type
-
validate a URI is in the list of URIs
- URI - Enum constant in enum class io.aiven.commons.util.system.SystemCheck.Type
-
validate a URI is in the list of URIs
V
- validateCredentialJson(byte[]) - Static method in class io.aiven.commons.util.google.auth.GCPValidator
-
Validate the JSON credential information.
- valueOf(String) - Static method in enum class io.aiven.commons.util.collections.RingBuffer.DuplicateHandling
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.aiven.commons.util.collections.Scale
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.aiven.commons.util.collections.TimeScale
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.aiven.commons.util.io.compression.CompressionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.aiven.commons.util.system.EnvCheck.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.aiven.commons.util.system.SystemCheck.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.aiven.commons.util.collections.RingBuffer.DuplicateHandling
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.aiven.commons.util.collections.Scale
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.aiven.commons.util.collections.TimeScale
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.aiven.commons.util.io.compression.CompressionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.aiven.commons.util.system.EnvCheck.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.aiven.commons.util.system.SystemCheck.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Version - Class in io.aiven.commons.util.strings
-
Reads a list of versions from a configuration file.
- Version() - Constructor for class io.aiven.commons.util.strings.Version
-
Default constructor.
- Version(String) - Constructor for class io.aiven.commons.util.strings.Version
-
property loader.
- VersionInfo - Class in io.aiven.commons.util.system
-
This class was originally developed by the Apache RAT project A formatter for Package information about a class.
- VersionInfo() - Constructor for class io.aiven.commons.util.system.VersionInfo
-
Constructor that uses the VersionInfo package for information.
- VersionInfo(Class<?>) - Constructor for class io.aiven.commons.util.system.VersionInfo
-
Constructor for a specific class.
Z
- ZSTD - Enum constant in enum class io.aiven.commons.util.io.compression.CompressionType
-
Zstandard compression
All Classes and Interfaces|All Packages|Constant Field Values
HttpStatus.SC_UNPROCESSABLE_CONTENT