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

A

AbstractApiMessageSerde - Class in org.apache.kafka.server.common.serialization
This is an implementation of RecordSerde with ApiMessageAndVersion but implementors need to implement AbstractApiMessageSerde.apiMessageFor(short) to return a ApiMessage instance for the given apiKey.
AbstractApiMessageSerde() - Constructor for class org.apache.kafka.server.common.serialization.AbstractApiMessageSerde
 
ApiMessageAndVersion - Class in org.apache.kafka.server.common
An ApiMessage and an associated version.
ApiMessageAndVersion(ApiMessage, short) - Constructor for class org.apache.kafka.server.common.ApiMessageAndVersion
 
apiMessageFor(short) - Method in class org.apache.kafka.server.common.serialization.AbstractApiMessageSerde
Return ApiMessage instance for the given apiKey.
apiMessageFor(short) - Method in class org.apache.kafka.server.common.serialization.BytesApiMessageSerde
Return ApiMessage instance for the given apiKey.
append(EventQueue.Event) - Method in interface org.apache.kafka.queue.EventQueue
Add an element to the end of the queue.
appendWithDeadline(long, EventQueue.Event) - Method in interface org.apache.kafka.queue.EventQueue
Add an event to the end of the queue.
apply(OptionalLong) - Method in class org.apache.kafka.queue.EventQueue.DeadlineFunction
 
apply(OptionalLong) - Method in class org.apache.kafka.queue.EventQueue.EarliestDeadlineFunction
 
apply(OptionalLong) - Method in class org.apache.kafka.queue.EventQueue.NoDeadlineFunction
 

B

beginShutdown(String) - Method in interface org.apache.kafka.queue.EventQueue
Asynchronously shut down the event queue with no unnecessary delay.
beginShutdown(String, EventQueue.Event) - Method in interface org.apache.kafka.queue.EventQueue
Asynchronously shut down the event queue with no unnecessary delay.
beginShutdown(String, EventQueue.Event, long, TimeUnit) - Method in interface org.apache.kafka.queue.EventQueue
Asynchronously shut down the event queue.
beginShutdown(String, EventQueue.Event, long, TimeUnit) - Method in class org.apache.kafka.queue.KafkaEventQueue
 
brokerId() - Method in class org.apache.kafka.server.common.ProducerIdsBlock
 
BytesApiMessageSerde - Class in org.apache.kafka.server.common.serialization
This class provides conversion of ApiMessageAndVersion to bytes and vice versa..
BytesApiMessageSerde() - Constructor for class org.apache.kafka.server.common.serialization.BytesApiMessageSerde
 

C

cancelDeferred(String) - Method in interface org.apache.kafka.queue.EventQueue
Cancel a deferred event.
cancelDeferred(String) - Method in class org.apache.kafka.queue.KafkaEventQueue
 
CheckpointFile<T> - Class in org.apache.kafka.server.common
This class represents a utility to capture a checkpoint in a file.
CheckpointFile(File, int, CheckpointFile.EntryFormatter<T>) - Constructor for class org.apache.kafka.server.common.CheckpointFile
 
CheckpointFile.EntryFormatter<T> - Interface in org.apache.kafka.server.common
This is used to convert the given entry of type T into a string and vice versa.
close() - Method in interface org.apache.kafka.queue.EventQueue
Synchronously close the event queue and wait for any threads to be joined.
close() - Method in class org.apache.kafka.queue.KafkaEventQueue
 
containsKey(Object) - Method in class org.apache.kafka.server.util.TranslatedValueMapView
 

D

DeadlineFunction(long) - Constructor for class org.apache.kafka.queue.EventQueue.DeadlineFunction
 
deserialize(byte[]) - Method in class org.apache.kafka.server.common.serialization.BytesApiMessageSerde
 

E

EarliestDeadlineFunction(long) - Constructor for class org.apache.kafka.queue.EventQueue.EarliestDeadlineFunction
 
EMPTY - Static variable in class org.apache.kafka.server.common.ProducerIdsBlock
 
enqueue(EventQueue.EventInsertionType, String, Function<OptionalLong, OptionalLong>, EventQueue.Event) - Method in interface org.apache.kafka.queue.EventQueue
Add an event to the queue.
enqueue(EventQueue.EventInsertionType, String, Function<OptionalLong, OptionalLong>, EventQueue.Event) - Method in class org.apache.kafka.queue.KafkaEventQueue
 
entrySet() - Method in class org.apache.kafka.server.util.TranslatedValueMapView
 
equals(Object) - Method in class org.apache.kafka.server.common.ApiMessageAndVersion
 
equals(Object) - Method in class org.apache.kafka.server.common.ProducerIdsBlock
 
EventQueue - Interface in org.apache.kafka.queue
 
EventQueue.DeadlineFunction - Class in org.apache.kafka.queue
 
EventQueue.EarliestDeadlineFunction - Class in org.apache.kafka.queue
 
EventQueue.Event - Interface in org.apache.kafka.queue
 
EventQueue.EventInsertionType - Enum in org.apache.kafka.queue
 
EventQueue.FailureLoggingEvent - Class in org.apache.kafka.queue
 
EventQueue.NoDeadlineFunction - Class in org.apache.kafka.queue
 
EventQueue.VoidEvent - Class in org.apache.kafka.queue
 

F

FailureLoggingEvent(Logger) - Constructor for class org.apache.kafka.queue.EventQueue.FailureLoggingEvent
 
fromString(String) - Method in interface org.apache.kafka.server.common.CheckpointFile.EntryFormatter
 

G

get(Object) - Method in class org.apache.kafka.server.util.TranslatedValueMapView
 

H

handleException(Throwable) - Method in interface org.apache.kafka.queue.EventQueue.Event
Handle an exception that was either generated by running the event, or by the event queue's inability to run the event.
handleException(Throwable) - Method in class org.apache.kafka.queue.EventQueue.FailureLoggingEvent
 
hashCode() - Method in class org.apache.kafka.server.common.ApiMessageAndVersion
 
hashCode() - Method in class org.apache.kafka.server.common.ProducerIdsBlock
 

I

INSTANCE - Static variable in class org.apache.kafka.queue.EventQueue.NoDeadlineFunction
 
INSTANCE - Static variable in class org.apache.kafka.queue.EventQueue.VoidEvent
 
isEmpty() - Method in class org.apache.kafka.server.util.TranslatedValueMapView
 

K

KafkaEventQueue - Class in org.apache.kafka.queue
 
KafkaEventQueue(Time, LogContext, String) - Constructor for class org.apache.kafka.queue.KafkaEventQueue
 

M

message() - Method in class org.apache.kafka.server.common.ApiMessageAndVersion
 
MetadataParseException - Exception in org.apache.kafka.server.common.serialization
An exception indicating that we failed to parse a metadata entry.
MetadataParseException(String) - Constructor for exception org.apache.kafka.server.common.serialization.MetadataParseException
 
MetadataParseException(Throwable) - Constructor for exception org.apache.kafka.server.common.serialization.MetadataParseException
 
MetadataParseException(String, Throwable) - Constructor for exception org.apache.kafka.server.common.serialization.MetadataParseException
 

N

NoDeadlineFunction() - Constructor for class org.apache.kafka.queue.EventQueue.NoDeadlineFunction
 

O

org.apache.kafka.queue - package org.apache.kafka.queue
 
org.apache.kafka.server.common - package org.apache.kafka.server.common
 
org.apache.kafka.server.common.serialization - package org.apache.kafka.server.common.serialization
 
org.apache.kafka.server.util - package org.apache.kafka.server.util
 

P

prepend(EventQueue.Event) - Method in interface org.apache.kafka.queue.EventQueue
Add an element to the front of the queue.
PRODUCER_ID_BLOCK_SIZE - Static variable in class org.apache.kafka.server.common.ProducerIdsBlock
 
producerIdEnd() - Method in class org.apache.kafka.server.common.ProducerIdsBlock
 
producerIdLen() - Method in class org.apache.kafka.server.common.ProducerIdsBlock
 
ProducerIdsBlock - Class in org.apache.kafka.server.common
Holds a range of Producer IDs used for Transactional and EOS producers.
ProducerIdsBlock(int, long, int) - Constructor for class org.apache.kafka.server.common.ProducerIdsBlock
 
producerIdStart() - Method in class org.apache.kafka.server.common.ProducerIdsBlock
 

R

read() - Method in class org.apache.kafka.server.common.CheckpointFile
 
read(Readable, int) - Method in class org.apache.kafka.server.common.serialization.AbstractApiMessageSerde
 
read(Readable, int) - Method in interface org.apache.kafka.server.common.serialization.RecordSerde
Read a record from a Readable input.
RecordSerde<T> - Interface in org.apache.kafka.server.common.serialization
Serde interface for records written to a metadata log.
recordSize(ApiMessageAndVersion, ObjectSerializationCache) - Method in class org.apache.kafka.server.common.serialization.AbstractApiMessageSerde
 
recordSize(T, ObjectSerializationCache) - Method in interface org.apache.kafka.server.common.serialization.RecordSerde
Get the size of a record.
run() - Method in interface org.apache.kafka.queue.EventQueue.Event
Run the event.
run() - Method in class org.apache.kafka.queue.EventQueue.VoidEvent
 

S

scheduleDeferred(String, Function<OptionalLong, OptionalLong>, EventQueue.Event) - Method in interface org.apache.kafka.queue.EventQueue
Schedule an event to be run at a specific time.
serialize(ApiMessageAndVersion) - Method in class org.apache.kafka.server.common.serialization.BytesApiMessageSerde
 

T

toString() - Method in class org.apache.kafka.queue.EventQueue.FailureLoggingEvent
 
toString() - Method in class org.apache.kafka.server.common.ApiMessageAndVersion
 
toString(T) - Method in interface org.apache.kafka.server.common.CheckpointFile.EntryFormatter
 
toString() - Method in class org.apache.kafka.server.common.ProducerIdsBlock
 
TranslatedValueMapView<K,V,B> - Class in org.apache.kafka.server.util
A map which presents a lightweight view of another "underlying" map.
TranslatedValueMapView(Map<K, B>, Function<B, V>) - Constructor for class org.apache.kafka.server.util.TranslatedValueMapView
 

V

valueOf(String) - Static method in enum org.apache.kafka.queue.EventQueue.EventInsertionType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.kafka.queue.EventQueue.EventInsertionType
Returns an array containing the constants of this enum type, in the order they are declared.
version() - Method in class org.apache.kafka.server.common.ApiMessageAndVersion
 
VoidEvent() - Constructor for class org.apache.kafka.queue.EventQueue.VoidEvent
 

W

wakeup() - Method in interface org.apache.kafka.queue.EventQueue
This method is used during unit tests where MockTime is in use.
wakeup() - Method in class org.apache.kafka.queue.KafkaEventQueue
 
write(Collection<T>) - Method in class org.apache.kafka.server.common.CheckpointFile
 
write(ApiMessageAndVersion, ObjectSerializationCache, Writable) - Method in class org.apache.kafka.server.common.serialization.AbstractApiMessageSerde
 
write(T, ObjectSerializationCache, Writable) - Method in interface org.apache.kafka.server.common.serialization.RecordSerde
Write the record to the output stream.
A B C D E F G H I K M N O P R S T V W 
Skip navigation links