Uses of Interface
org.nuxeo.lib.stream.log.LogOffset
Packages that use LogOffset
Package
Description
The Computation pattern with a Log implementation.
Computation pattern implemented with Log
The Log interface with In-Memory and Kafka implementation.
-
Uses of LogOffset in org.nuxeo.ecm.core.event.stream
Methods in org.nuxeo.ecm.core.event.stream that return types with arguments of type LogOffsetModifier and TypeMethodDescriptionDomainEventProducer.maxPerPartition(List<LogOffset> offsets) Helper that returns the higher offsets per partitions.Method parameters in org.nuxeo.ecm.core.event.stream with type arguments of type LogOffsetModifier and TypeMethodDescriptionDomainEventProducer.maxPerPartition(List<LogOffset> offsets) Helper that returns the higher offsets per partitions.voidDomainEventProducer.postCommitHook(List<LogOffset> offsets) This hook is called once the records have been produced downstream, providing the list of produced record offsets. -
Uses of LogOffset in org.nuxeo.ecm.core.search.index
Method parameters in org.nuxeo.ecm.core.search.index with type arguments of type LogOffsetModifier and TypeMethodDescriptionvoidIndexingDomainEventProducer.postCommitHook(List<LogOffset> offsets) -
Uses of LogOffset in org.nuxeo.ecm.core.work
Methods in org.nuxeo.ecm.core.work with parameters of type LogOffset -
Uses of LogOffset in org.nuxeo.lib.stream.computation
Methods in org.nuxeo.lib.stream.computation that return LogOffsetModifier and TypeMethodDescriptionAppends a record to a processor's source stream.ComputationContext.getLastOffset()Methods in org.nuxeo.lib.stream.computation with parameters of type LogOffsetModifier and TypeMethodDescriptiondefault voidRecordFilter.afterAppend(Record record, LogOffset offset) Called after a record is appended to a stream.default RecordCalled after reading a record.booleanWait for a consumer group to process the stream up to the given offset. -
Uses of LogOffset in org.nuxeo.lib.stream.computation.internals
Fields in org.nuxeo.lib.stream.computation.internals declared as LogOffsetMethods in org.nuxeo.lib.stream.computation.internals that return LogOffsetModifier and TypeMethodDescriptionComputationContextImpl.getLastOffset()ComputationContextImpl.produceRecordImmediate(String streamName, Record record) Writes to an output stream immediately.Methods in org.nuxeo.lib.stream.computation.internals with parameters of type LogOffsetModifier and TypeMethodDescriptionvoidRecordFilterChainImpl.afterAppend(Record record, LogOffset offset) voidComputationContextImpl.setLastOffset(LogOffset lastOffset) -
Uses of LogOffset in org.nuxeo.lib.stream.computation.log
Methods in org.nuxeo.lib.stream.computation.log that return LogOffsetModifier and TypeMethodDescriptionMethods in org.nuxeo.lib.stream.computation.log with parameters of type LogOffset -
Uses of LogOffset in org.nuxeo.lib.stream.log
Fields in org.nuxeo.lib.stream.log declared as LogOffsetMethods in org.nuxeo.lib.stream.log that return LogOffsetModifier and TypeMethodDescriptionAppend a message into a partition, returnsLogOffsetposition of the message.default LogOffsetSame asLogAppender.append(int, Externalizable), the queue is chosen using a hash of parameters "key".LogTailer.commit(LogPartition partition) Commit current position for the partition.LogOffset.nextOffset()Returns the next offset corresponding to the next position in the same partition.LogRecord.offset()LogTailer.offsetForTimestamp(LogPartition partition, long timestamp) Look up the offset for the given partition by timestamp.Methods in org.nuxeo.lib.stream.log with parameters of type LogOffsetModifier and TypeMethodDescriptionvoidSet the current position for a single partition.booleanWait for consumer to process a message up to the offset.Constructors in org.nuxeo.lib.stream.log with parameters of type LogOffset -
Uses of LogOffset in org.nuxeo.lib.stream.log.internals
Classes in org.nuxeo.lib.stream.log.internals that implement LogOffsetMethods in org.nuxeo.lib.stream.log.internals that return LogOffsetMethods in org.nuxeo.lib.stream.log.internals with parameters of type LogOffset -
Uses of LogOffset in org.nuxeo.lib.stream.log.kafka
Methods in org.nuxeo.lib.stream.log.kafka that return LogOffsetModifier and TypeMethodDescriptionKafkaLogTailer.commit(LogPartition partition) KafkaLogTailer.offsetForTimestamp(LogPartition partition, long timestamp) Methods in org.nuxeo.lib.stream.log.kafka with parameters of type LogOffset -
Uses of LogOffset in org.nuxeo.lib.stream.log.mem
Methods in org.nuxeo.lib.stream.log.mem that return LogOffsetModifier and TypeMethodDescriptionMemCompoundLogTailer.commit(LogPartition partition) MemLogTailer.commit(LogPartition partition) MemCompoundLogTailer.offsetForTimestamp(LogPartition partition, long timestamp) MemLogTailer.offsetForTimestamp(LogPartition partition, long timestamp) Methods in org.nuxeo.lib.stream.log.mem with parameters of type LogOffset -
Uses of LogOffset in org.nuxeo.lib.stream.tools.command
Methods in org.nuxeo.lib.stream.tools.command that return LogOffsetModifier and TypeMethodDescriptionprotected LogOffsetRestoreCommand.findOffset(LogManager manager, LogPartitionGroup key, Latency latency) protected LogOffsetPositionCommand.searchWatermarkOffset(LogTailer<Record> tailer, long timestamp) Methods in org.nuxeo.lib.stream.tools.command that return types with arguments of type LogOffsetModifier and TypeMethodDescriptionprotected Map<LogPartitionGroup, LogOffset> RestoreCommand.searchOffsets(LogManager manager, Map<LogPartitionGroup, Latency> latencies) Methods in org.nuxeo.lib.stream.tools.command with parameters of type LogOffsetModifier and TypeMethodDescriptionprotected voidRestoreCommand.updatePosition(LogManager manager, LogPartitionGroup key, LogOffset offset) Method parameters in org.nuxeo.lib.stream.tools.command with type arguments of type LogOffsetModifier and TypeMethodDescriptionprotected voidRestoreCommand.updatePositions(LogManager manager, Map<LogPartitionGroup, LogOffset> offsets)