| Modifier and Type | Field and Description |
|---|---|
protected Pipe<S> |
DataOutputBlobWriter.backingPipe |
Pipe[] |
PipeBundle.buffers
Deprecated.
|
protected Pipe<RawDataSchema> |
ChannelWriterController.pipe |
protected Pipe<RawDataSchema> |
ChannelReaderController.pipe |
| Modifier and Type | Method and Description |
|---|---|
static <S extends MessageSchema<S>> |
PipeMonitor.addMonitor(Pipe<S> sourcePipe) |
static Pipe[] |
PipeBundle.buffers(PipeBundle ringBuffers)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.buildPipes(int count,
PipeConfig<S> commonConfig)
Build and array of Pipe instances from a single PipeConfig
|
static Pipe[] |
Pipe.buildPipes(PipeConfig[] configs)
Build an array of Pipe instances from a set of PipeConfig.
|
static Pipe |
PipeBundle.get(PipeBundle ringBuffers,
int idx)
Deprecated.
|
static <S extends MessageSchema<S>> |
DataInputBlobReader.getBackingPipe(DataInputBlobReader<S> that) |
Pipe<S> |
DataOutputBlobWriter.getPipe() |
Pipe<T> |
Pipe.initBuffers()
Allocates all internal arrays and buffers before the Pipe can be used
|
<S extends MessageSchema<S>> |
PipeConfigManager.newPipe(Class<S> clazz) |
Pipe<T> |
MessageSchema.newPipe(int minimumFragmentsOnRing,
int maximumLenghOfVariableLengthFields) |
static <S extends MessageSchema<S>> |
PipeConfig.pipe(PipeConfig<S> config) |
static <S extends MessageSchema<S>> |
Pipe.splitPipes(int pipeCount,
Pipe<S>[] pipes)
Evenly split array of pipes across pipeCount arrays of arrays of pipes.
|
| Modifier and Type | Method and Description |
|---|---|
static <S extends MessageSchema<S>> |
Pipe.abandonWrites(Pipe<S> pipe)
Abandon the fragment written so far so a different fragment can be written or
non at all.
|
static void |
PipeWriter.accumulateBitsValue(Pipe pipe,
int loc,
int value) |
static <S extends MessageSchema<S>> |
Pipe.addAndGetBlobHeadPosition(Pipe<S> pipe,
int inc)
Direct access to add and get Blob head position
|
static <S extends MessageSchema<S>> |
Pipe.addAndGetBlobWorkingHeadPosition(Pipe<S> pipe,
int inc)
Direct access method for incrementing blob working head position
|
static <S extends MessageSchema<S>> |
Pipe.addAndGetBlobWorkingTailPosition(Pipe<S> pipe,
int inc)
Direct access to add and get working tail position
|
static <S extends MessageSchema<S>> |
Pipe.addAndGetWorkingHead(Pipe<S> pipe,
int inc)
Directly increment the working head position for the slab
|
static <S extends MessageSchema<S>> |
Pipe.addAndGetWorkingTail(Pipe<S> pipe,
int inc)
Direct access to increment working tail position
|
static <S extends MessageSchema<S>> |
Pipe.addASCII(char[] source,
int sourceIdx,
int sourceCharCount,
Pipe<S> pipe)
Add these chars as ASCII values to output pipe
|
static <S extends MessageSchema<S>> |
Pipe.addASCII(CharSequence source,
int sourceIdx,
int sourceCharCount,
Pipe<S> pipe)
Add these chars as ASCII values to output pipe
|
static <S extends MessageSchema<S>> |
Pipe.addASCII(CharSequence source,
Pipe<S> rb)
Writes ASCII to specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addByteArray(byte[] source,
int sourceIdx,
int sourceLen,
int sourceMask,
Pipe<S> pipe)
Writes a a byte array to the specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addByteArray(byte[] source,
int sourceIdx,
int sourceLen,
Pipe<S> pipe)
Writes a byte array to the specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addByteArray(byte[] source,
Pipe<S> pipe)
Writes a byte array to the specified pipe
|
static <S extends MessageSchema<S>,T extends MessageSchema<T>> |
Pipe.addByteArray(Pipe<S> source,
Pipe<T> target)
directly copy byte array field from the source pipe to the target pipe
|
static <S extends MessageSchema<S>,T extends MessageSchema<T>> |
Pipe.addByteArray(Pipe<S> source,
Pipe<T> target)
directly copy byte array field from the source pipe to the target pipe
|
static <S extends MessageSchema<S>> |
Pipe.addByteArrayWithMask(Pipe<S> outputRing,
int mask,
int len,
byte[] data,
int offset)
Add byte array to target pipe
|
static <S extends MessageSchema<S>> |
Pipe.addByteBuffer(ByteBuffer source,
int length,
Pipe<S> pipe)
add byte buffer as a field in pipe
|
static <S extends MessageSchema<S>> |
Pipe.addByteBuffer(ByteBuffer source,
Pipe<S> pipe)
add byte buffer as a field in pipe
|
static <S extends MessageSchema<S>> |
Pipe.addBytePosAndLen(Pipe<S> pipe,
int position,
int length)
Writes position and length of byte to add to the pipe
|
static <S extends MessageSchema<S>> |
Pipe.addBytePosAndLenSpecial(Pipe<S> targetOutput,
int startBytePos,
int bytesLength)
Writes the position and len for a var byte field to the pipe but it does not move the
byte count forward, that is assumed to already be done.
|
static <S extends MessageSchema<S>> |
Pipe.addDecimal(int exponent,
long mantissa,
Pipe<S> pipe)
add Decimal value to pipe
|
static <S extends MessageSchema<S>> |
Pipe.addDecimalAsASCII(int readDecimalExponent,
long readDecimalMantissa,
Pipe<S> outputRing)
Writes decimal as ASCII to specified Pipe
|
static <S extends MessageSchema<S>> |
Pipe.addIntAsASCII(Pipe<S> output,
int value)
Writes in an int as an ASCII character to specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addIntValue(int value,
Pipe<S> pipe)
Writes an int value to the specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addLongAsASCII(Pipe<S> output,
long value)
Writes in a long as an ASCII character to specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addLongAsUTF8(Pipe<S> digitBuffer,
int length)
Writes long as UTF8 with specified length to Pipe
|
static <S extends MessageSchema<S>> |
Pipe.addLongAsUTF8(Pipe<S> digitBuffer,
long length)
Writes long as UTF8 with specified length to named Pipe
|
static <S extends MessageSchema<S>> |
Pipe.addLongValue(long value,
Pipe<S> pipe)
Writes long value to the specified pipe
|
static <S extends MessageSchema<S>> |
PipeMonitor.addMonitor(Pipe<S> sourcePipe) |
static <S extends MessageSchema<S>> |
Pipe.addMsgIdx(Pipe<S> pipe,
int msgIdx)
Called to start a new message when using the low level API
|
static <S extends MessageSchema<S>> |
Pipe.addNullByteArray(Pipe<S> pipe)
add a null byte array in this position of the target pipe
|
static void |
Pipe.addPubListener(Pipe p,
PipePublishListener listener)
Adds a pub listener to the specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addRationalAsASCII(Pipe<S> pipe,
long numerator,
long denominator)
Write ascii text for rational value
|
static <S extends MessageSchema<S>> |
Pipe.addUTF8(char[] source,
int sourceCharCount,
Pipe<S> rb)
Writes array of UTF8 characters to specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addUTF8(CharSequence source,
int sourceCharCount,
Pipe<S> pipe)
Writes UTF8 characters to specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addUTF8(CharSequence source,
Pipe<S> rb)
Writes UTF8 characters to specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.appendFragment(Pipe<S> input,
Appendable target,
int fragIdx)
Debug write of this fragment to the target appendable
|
static void |
LittleEndianDataInputBlobReader.appendNextFieldToReader(LittleEndianDataInputBlobReader reader,
Pipe<RawDataSchema> targetPipe) |
static <S extends MessageSchema<S>> |
Pipe.batchAllReleases(Pipe<S> pipe)
sets maximum batch count for releases.
|
static <S extends MessageSchema<S>> |
Pipe.batchedReleasePublish(Pipe<S> pipe,
int blobTail,
long slabTail)
If batch is not yet full this new publish is stored else this is added and released with the rest
|
static <S extends MessageSchema<S>> |
Pipe.beginNewPublishBatch(Pipe<S> pipe)
start new batch for publish
|
static <S extends MessageSchema<S>> |
Pipe.beginNewReleaseBatch(Pipe<S> pipe)
start new batch for release
|
static <S extends MessageSchema<S>> |
Pipe.blob(Pipe<S> pipe)
Direct access to blob backing array.
|
static <S extends MessageSchema<S>> |
Pipe.blobIndexBasePosition(Pipe<S> pipe)
Base byte position where the index begins.
|
static <S extends MessageSchema<S>> |
Pipe.blobMask(Pipe<S> pipe)
Direct access to the mask for looping the blob.
|
static void |
PipeWriter.blockWriteFragment(Pipe pipe,
int messageTemplateLOC)
Deprecated.
|
static PipeBundle |
PipeBundle.buildRingBuffers(Pipe rb)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.byteBackingArray(int meta,
Pipe<S> pipe)
Given the meta data for the var length field return the backing array.
|
static <S extends MessageSchema<S>> |
Pipe.byteBuffer(Pipe<S> pipe)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.bytePosition(int meta,
Pipe<S> pipe,
int len)
convert meta and len field data into a specific position field.
|
static int |
PipeReader.bytesConsumedByFragment(Pipe ringBuffer) |
static <S extends MessageSchema<S>> |
Pipe.bytesOfContent(Pipe<S> ringBuffer)
All bytes even those not yet committed.
|
static <S extends MessageSchema<S>> |
Pipe.bytesReadBase(Pipe<S> pipe)
get base position based on the var length data written.
|
static <S extends MessageSchema<S>> |
Pipe.bytesWriteBase(Pipe<S> pipe)
base position to track where the var length
|
static <S extends MessageSchema<S>> |
Pipe.cancelReplay(Pipe<S> pipe)
Cancels replay of specified ringBuffer
|
static <S extends MessageSchema<S>> |
Pipe.computeCountOfBytesConsumed(Pipe<S> pipe)
Total count of bytes consumed since start of this fragment
|
static <S extends MessageSchema<S>> |
Pipe.computeMaxBatchSize(Pipe<S> pipe)
maximum batch size based on the Pipe configuration
|
static <S extends MessageSchema<S>> |
Pipe.computeMaxBatchSize(Pipe<S> pipe,
int mustFit)
maximum batch size based on pipe and must fit batches count
|
static <S extends MessageSchema<S>> |
Pipe.computeRateLimitConsumerDelay(Pipe<S> pipe)
Returns nano-second count of how much time should pass before consuming more data
from this pipe.
|
static <S extends MessageSchema<S>> |
PipeRegulator.computeRateLimitDelay(Pipe<S> pipe,
long position,
PipeRegulator regulator) |
static <S extends MessageSchema<S>> |
Pipe.computeRateLimitProducerDelay(Pipe<S> pipe)
Returns nano-second count of how much time should pass before producing more data
into this pipe.
|
static <S extends MessageSchema<S>> |
Pipe.confirmLowLevelRead(Pipe<S> pipe,
long size)
Confirm low level read of message of this size, Must be called after read to move cursor forward for next read.
|
static <S extends MessageSchema<S>> |
Pipe.confirmLowLevelWrite(Pipe<S> output)
Confirm low level write, Must be called after every fragment write to move cursor to next fragment to write
|
static <S extends MessageSchema<S>> |
Pipe.confirmLowLevelWrite(Pipe<S> output,
int size)
Confirm low level write of fragment of the provided size.
|
static <S extends MessageSchema<S>> |
Pipe.confirmLowLevelWriteUnchecked(Pipe<S> output,
int size)
Method used for moving more than one fragment at a time.
|
static void |
RawDataSchema.consume(Pipe<RawDataSchema> input) |
static void |
TestDataSchema.consume(Pipe<TestDataSchema> input) |
static void |
RawDataSchema.consumeChunkedStream(Pipe<RawDataSchema> input) |
static void |
TestDataSchema.consumeChunkedStream(Pipe<TestDataSchema> input) |
static void |
TestDataSchema.consumeChunkedStreamAndInt(Pipe<TestDataSchema> input) |
static void |
TestDataSchema.consumeChunkedStreamAndLong(Pipe<TestDataSchema> input) |
static void |
TestDataSchema.consumeInt(Pipe<TestDataSchema> input) |
static void |
TestDataSchema.consumeIntAndChunkedStream(Pipe<TestDataSchema> input) |
static void |
TestDataSchema.consumeLong(Pipe<TestDataSchema> input) |
static void |
TestDataSchema.consumeLongAndChunkedStream(Pipe<TestDataSchema> input) |
static int |
SchemalessPipe.contentRemaining(Pipe<MessageSchemaDynamic> p) |
static <S extends MessageSchema<S>> |
Pipe.contentRemaining(Pipe<S> pipe)
Content remaining on Pipe to be consumed.
|
static <S extends MessageSchema<S>> |
Pipe.convertToPosition(int meta,
Pipe<S> pipe)
convert meta field data into a specific position field.
|
static <S extends MessageSchema<S>> |
Pipe.copyASCIIToBytes(char[] source,
int sourceIdx,
int sourceLen,
Pipe<S> pipe)
Copy ascii chars as bytes into a var field in the pipe
|
static <S extends MessageSchema<S>> |
Pipe.copyASCIIToBytes(CharSequence source,
int sourceIdx,
int sourceLen,
Pipe<S> pipe)
Add these chars as ASCII values to output pipe
|
static <S extends MessageSchema<S>> |
Pipe.copyASCIIToBytes(CharSequence source,
Pipe<S> pipe)
copy ASCII to bytes
|
static <S extends MessageSchema<S>> |
Pipe.copyByteBuffer(ByteBuffer source,
int length,
Pipe<S> pipe)
copy ByteBuffer into pipe as a field.
|
static int |
PipeReader.copyBytes(Pipe sourcePipe,
Pipe targetPipe,
int sourceLOC,
int targetLOC)
Copies bytes from specified pipe to target pipe
|
static int |
PipeReader.copyBytes(Pipe sourcePipe,
Pipe targetPipe,
int sourceLOC,
int targetLOC)
Copies bytes from specified pipe to target pipe
|
static void |
PipeReader.copyDecimal(Pipe sourceRing,
Pipe targetRing,
int sourceLOC,
int targetLOC)
Copies decimal from specified pipe ring to target pipe ring
|
static void |
PipeReader.copyDecimal(Pipe sourceRing,
Pipe targetRing,
int sourceLOC,
int targetLOC)
Copies decimal from specified pipe ring to target pipe ring
|
static <S extends MessageSchema<S>> |
Pipe.copyFragment(Pipe<S> source,
Pipe<S> target)
Returns the slab size of this copied fragment.
|
static <S extends MessageSchema<S>> |
Pipe.copyFragment(Pipe<S> source,
Pipe<S> target)
Returns the slab size of this copied fragment.
|
static void |
PipeReader.copyInt(Pipe sourceRing,
Pipe targetRing,
int sourceLOC,
int targetLOC)
Copies int from specified pipe ring to target pipe ring
|
static void |
PipeReader.copyInt(Pipe sourceRing,
Pipe targetRing,
int sourceLOC,
int targetLOC)
Copies int from specified pipe ring to target pipe ring
|
static void |
PipeReader.copyLong(Pipe sourcePipe,
Pipe targetPipe,
int sourceLOC,
int targetLOC)
Copies long from specified pipe to target pipe
|
static void |
PipeReader.copyLong(Pipe sourcePipe,
Pipe targetPipe,
int sourceLOC,
int targetLOC)
Copies long from specified pipe to target pipe
|
static <S extends MessageSchema<S>> |
Pipe.copyUTF8ToByte(char[] source,
int sourceOffset,
int sourceCharCount,
Pipe<S> pipe)
Copy chars to UTF8 encoded bytes
|
static <S extends MessageSchema<S>> |
Pipe.copyUTF8ToByte(char[] source,
int sourceCharCount,
Pipe<S> pipe)
Copy chars to UTF8 encoded bytes
|
static <S extends MessageSchema<S>> |
Pipe.copyUTF8ToByte(CharSequence source,
int sourceOffset,
int sourceCharCount,
Pipe<S> pipe)
Copy CharSequence to bytes field in the pipe using UTF8 encoding.
|
static <S extends MessageSchema<S>> |
Pipe.decBatchPublish(Pipe<S> pipe)
decrement batch publish count down
|
static <S extends MessageSchema<S>> |
Pipe.decBatchRelease(Pipe<S> pipe)
decrement batch release count down
|
static boolean |
PipeReader.eqASCII(Pipe pipe,
int loc,
CharSequence seq)
Checks to see if CharSequence matches ASCII at given location
|
static boolean |
PipeReader.eqUTF8(Pipe pipe,
int loc,
CharSequence seq)
Checks to see if CharSequence matches UTF8 at given location
|
static <S extends MessageSchema<S>> |
Pipe.estBytesAllocated(Pipe<S> pipe)
Estimate of the total bytes consumed by this pipe
|
static <S extends MessageSchema<S>> |
Pipe.from(Pipe<S> pipe)
Field reference offset manager for the schema used by this pipe.
|
static <S extends MessageSchema<S>> |
Pipe.getBlobHeadPosition(Pipe<S> pipe)
Direct access to read blob head position.
|
static <S extends MessageSchema<S>> |
Pipe.getBlobRingTailPosition(Pipe<S> pipe)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.getBlobTailPosition(Pipe<S> pipe)
Direct access to get blob tail position.
|
static <S extends MessageSchema<S>> |
Pipe.getBlobWorkingHeadPosition(Pipe<S> pipe)
Deprecated.
|
static int |
PipeReader.getMsgIdx(Pipe rb)
Gets the message index in the pipe
|
static <S extends MessageSchema<S>> |
Pipe.getPublishBatchSize(Pipe<S> pipe)
get the publish batch count
|
static <S extends MessageSchema<S>> |
Pipe.getReleaseBatchSize(Pipe<S> pipe)
get the release batch count
|
static <S extends MessageSchema<S>> |
Pipe.getSlabHeadPosition(Pipe<S> pipe)
Direct access to the head position of the slab
|
static <S extends MessageSchema<S>> |
Pipe.getWorkingBlobHeadPosition(Pipe<S> pipe)
Direct method to get the working blob head position
|
static <S extends MessageSchema<S>> |
Pipe.getWorkingBlobTailPosition(Pipe<S> pipe)
Direct access to working blob tail position
|
static <S extends MessageSchema<S>> |
Pipe.getWorkingHeadPositionObject(Pipe<S> pipe)
Direct access to working head position object
|
static <S extends MessageSchema<S>> |
Pipe.getWorkingTailPosition(Pipe<S> pipe)
Direct access to working tail position of the slab
|
static <S extends MessageSchema<S>> |
Pipe.getWorkingTailPositionObject(Pipe<S> pipe)
Direct access to working tail position object
|
static boolean |
PipeReader.hasContentToRead(Pipe pipe)
Checks to see if pipe has content to read
|
static <S extends MessageSchema<S>> |
Pipe.hasContentToRead(Pipe<S> pipe)
Checks specified pipe to see if there is any data to read.
|
static <S extends MessageSchema<S>> |
Pipe.hasContentToRead(Pipe<S> pipe,
int size)
Low level API only for checking if there is content to read of the size provided.
|
static boolean |
PipeWriter.hasRoomForFragmentOfSize(Pipe pipe,
int fragSize)
Checks to see if specified pipe has room for a specific size of data
|
static boolean |
PipeWriter.hasRoomForWrite(Pipe pipe)
Check to see if specified pipe has room to write
|
static <S extends MessageSchema<S>> |
Pipe.hasRoomForWrite(Pipe<S> pipe)
Checks the specified pipe to see if there is room to write
|
static <S extends MessageSchema<S>> |
Pipe.hasRoomForWrite(Pipe<S> pipe,
int size)
Checks if outgoing pipe has room for low level fragment write of the given size.
|
static <S extends MessageSchema<S>> |
Pipe.headPosition(Pipe<S> pipe)
Direct access to the head position of the slab
|
static <S extends MessageSchema<S>> |
Pipe.inputStream(Pipe<S> pipe)
get the input stream associated with this pipe
|
static <S extends MessageSchema<S>> |
PipeReader.inputStream(Pipe<S> pipe,
int loc) |
static <S extends MessageSchema<S>> |
Pipe.isEmpty(Pipe<S> pipe)
Checks to see whether pipe has any data or not.
|
static <S extends MessageSchema<S>> |
Pipe.isEndOfPipe(Pipe<S> pipe,
long tailPosition)
Checks to see if the end of the pipe has been reached
|
static <S extends MessageSchema<S>> |
Pipe.isEqual(Pipe<S> pipe,
byte[] expected,
int expectedPos,
int meta,
int len)
checks for equals bytes
|
static <S extends MessageSchema<S>> |
Pipe.isEqual(Pipe<S> pipe,
CharSequence charSeq,
int meta,
int len)
Checks if given CharSequence is equal to data in a given area
|
static boolean |
PipeReader.isEqual(Pipe pipe,
int loc,
CharSequence charSeq)
Checks specified pipe to see if charSeq and value at specific location are equal
|
static <S extends MessageSchema<S>> |
Pipe.isForDynamicSchema(Pipe<S> pipe)
Checks if pipe uses a dynamic schema which is not backed by an XML contract file.
|
static <S extends MessageSchema<S>,T extends MessageSchema<T>> |
Pipe.isForSameSchema(Pipe<S> pipeA,
Pipe<T> pipeB)
Checks if both pipes use the same schemas.
|
static <S extends MessageSchema<S>,T extends MessageSchema<T>> |
Pipe.isForSameSchema(Pipe<S> pipeA,
Pipe<T> pipeB)
Checks if both pipes use the same schemas.
|
static <S extends MessageSchema<S>,T extends MessageSchema<T>> |
Pipe.isForSchema(Pipe<S> pipe,
Class<T> schema)
Checks if schema matches that used by the pipe.
|
static <S extends MessageSchema<S>,T extends MessageSchema<T>> |
Pipe.isForSchema(Pipe<S> pipe,
T schema)
Checks if schema matches that used by the pipe.
|
static <S extends MessageSchema<S>> |
Pipe.isInBlobFieldWrite(Pipe<S> pipe)
Bookkeeping method to track if a write is in progress to the blob.
|
static <S extends MessageSchema<S>> |
Pipe.isInit(Pipe<S> pipe)
is the pipe initialized and ready for use.
|
static <S extends MessageSchema<S>> |
PipeMonitor.isMonitored(Pipe<S> p) |
static boolean |
PipeReader.isNewMessage(Pipe ring)
Determines if ring is a new message
|
static <S extends MessageSchema<S>> |
Pipe.isRateLimitedConsumer(Pipe<S> pipe)
Check if the rate is limited from the consumer side of the pipe.
|
static <S extends MessageSchema<S>> |
Pipe.isRateLimitedProducer(Pipe<S> pipe)
Check if the rate is limited from the producer side of the pipe.
|
static <S extends MessageSchema<S>> |
Pipe.isReplaying(Pipe<S> pipe)
Checks to see if the provided pipe is replaying.
|
static <S extends MessageSchema<S>> |
Pipe.isShutdown(Pipe<S> pipe)
check if this pipe has been shutdown
|
static boolean |
PipeReader.isStructured(Pipe pipe,
int loc)
Checks to see if pipe is structured at a certain location
|
static <S extends MessageSchema<S>> |
Pipe.lastConfirmedWritePosition(Pipe<S> output)
get last confirmed write position in the slab
|
static <S extends MessageSchema<S>> |
Pipe.leftConvertIntToASCII(Pipe<S> pipe,
int value,
int idx)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.leftConvertLongToASCII(Pipe<S> pipe,
long value,
int idx)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.markBytesReadBase(Pipe<S> pipe)
auto compute and store bytes consumed for fragment bookkeeping
|
static <S extends MessageSchema<S>> |
Pipe.markBytesReadBase(Pipe<S> pipe,
int bytesConsumed)
store bytes consumed for fragment bookkeeping
|
static <S extends MessageSchema<S>> |
Pipe.markBytesWriteBase(Pipe<S> pipe)
Store new var len base written position.
|
static void |
Pipe.markHead(Pipe pipe)
Hold this position in case we want to abandon what is written
|
static void |
Pipe.markTail(Pipe pipe)
Hold this position in case we want to re-read this single message
|
static <S extends MessageSchema<S>> |
PipeMonitor.monitor(Pipe<S> sourcePipe,
long sourceSlabPos,
int sourceBlobPos) |
static <S extends MessageSchema<S>> |
Pipe.moveBlobPointerAndRecordPosAndLength(int originalBlobPosition,
int len,
Pipe<S> output)
Record the number of bytes written after direct manipulation of the backing array.
|
static <S extends MessageSchema<S>> |
Pipe.moveBlobPointerAndRecordPosAndLength(int len,
Pipe<S> output)
Record the number of bytes written after direct manipulation of the backing array.
|
static <S extends MessageSchema<S>> |
Pipe.notifyPubListener(Pipe<S> pipe)
Notify any listeners to thsi pipe that a publication has been made.
|
static <S extends MessageSchema<S>> |
Pipe.openInputStream(Pipe<S> pipe)
get the input stream associated with this Pipe and open it
|
static <S extends MessageSchema<S>> |
Pipe.openOutputStream(Pipe<S> pipe)
get the output stream associated with this pipe and open it
|
static <S extends MessageSchema<S>> |
Pipe.orIntValue(int value,
Pipe<S> pipe,
long position)
Ors int value to specific position in the given pipe
|
static <S extends MessageSchema<S>> |
PipeWriter.outputStream(Pipe<S> pipe)
Gives outputStream of specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.outputStream(Pipe<S> pipe)
get the output stream associated with this pipe
|
static byte[] |
PipeReader.peekDataBackingArray(Pipe pipe,
int loc)
Peeks at internal data; advanced feature
|
static int |
PipeReader.peekDataLength(Pipe pipe,
int loc)
Peeks ahead to specified field in pipe before Trie parsing is run
|
static int |
PipeReader.peekDataMeta(Pipe pipe,
int loc) |
static int |
PipeReader.peekDataPosition(Pipe pipe,
int loc) |
static boolean |
PipeReader.peekEquals(Pipe pipe,
int loc,
int expected) |
static <S extends MessageSchema<S>> |
PipeReader.peekInputStream(Pipe<S> pipe,
int loc)
Peeks at input stream of specified pipe before Trie parse is run
|
static <S extends MessageSchema<S>> |
Pipe.peekInputStream(Pipe<S> pipe,
int offset)
get the input stream but do not move the cursor position.
|
static <S extends MessageSchema<S>> |
Pipe.peekInt(Pipe<S> pipe)
peek the int value at this position
|
static <S extends MessageSchema<S>> |
Pipe.peekInt(Pipe<S> pipe,
int offset)
peek the int value at this relative offset from where the cursor is upon call
|
static int |
PipeReader.peekInt(Pipe pipe,
int loc)
Peeks ahead to specified field in pipe before Trie parsing is done
|
static <S extends MessageSchema<S>> |
Pipe.peekLong(Pipe<S> pipe,
int offset)
peek the long value at this relative offset from where the cursor is upon call
|
static long |
PipeReader.peekLong(Pipe pipe,
int loc)
Peeks ahead to specified field in pipe before Trie parsing is run
|
static <S extends MessageSchema<S>> |
Pipe.peekMsg(Pipe<S> pipe,
int expected)
peek message and determine if it matches the expected value
|
static <S extends MessageSchema<S>> |
Pipe.peekMsg(Pipe<S> pipe,
int expected1,
int expected2)
peek message and determine if it matches one of 2 potential values
|
static <S extends MessageSchema<S>> |
Pipe.peekMsg(Pipe<S> pipe,
int expected1,
int expected2,
int expected3)
peek message and determine if it matches one of 3 potential values
|
static boolean |
PipeReader.peekMsg(Pipe pipe,
int expected)
Checks pipe to see if message equals expected
|
static boolean |
PipeReader.peekMsg(Pipe pipe,
int expected1,
int expected2)
Checks pipe to see if message equals expected
|
static boolean |
PipeReader.peekMsg(Pipe pipe,
int expected1,
int expected2,
int expected3)
Checks pipe to see if message equals expected
|
static <S extends MessageSchema<S>> |
Pipe.peekNotMsg(Pipe<S> pipe,
int expected)
peek message and determine if it does not match the expected value
|
static boolean |
PipeReader.peekNotMsg(Pipe pipe,
int expected)
Checks pipe to see if message does not equal expected
|
static boolean |
PipeReader.peekNotMsg(Pipe pipe,
int expected1,
int expected2)
Checks pipe to see if message does not equal expected
|
static <S extends MessageSchema<S>,A extends Appendable> |
Pipe.peekUTF8(Pipe<S> pipe,
int offset,
A target)
peek UTF8 text at this relative offset from where the cursor is upon call
|
static <A extends Appendable> |
PipeReader.peekUTF8(Pipe pipe,
int loc,
A target)
Peeks ahead to specified field in pipe before Trie parsing is run
|
static <S extends MessageSchema<S>> |
Pipe.presumeRoomForWrite(Pipe<S> pipe)
Check if there is room to write the largest known message.
|
static void |
PipeWriter.presumeWriteFragment(Pipe pipe,
int fragmentId)
We assume that the pipe has room and this was already checked earlier in the code.
|
static <S extends MessageSchema<S>> |
Pipe.primaryBuffer(Pipe<S> pipe)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.primarySize(Pipe<S> pipe)
Deprecated.
|
static void |
PipeReader.printFragment(Pipe input,
Appendable target)
Prints fragment from input to the end of pipe
|
static <S extends MessageSchema<S>> |
Pipe.publishAllBatchedWrites(Pipe<S> pipe)
Publish any writes that were held back due to batching.
|
static <S extends MessageSchema<S>> |
Pipe.publishBlobWorkingTailPosition(Pipe<S> pipe,
int blobWorkingTailPos)
Direct access to publish working tail position
|
static void |
RawDataSchema.publishChunkedStream(Pipe<RawDataSchema> output,
byte[] fieldByteArrayBacking,
int fieldByteArrayPosition,
int fieldByteArrayLength) |
static void |
TestDataSchema.publishChunkedStream(Pipe<TestDataSchema> output,
byte[] fieldByteArrayBacking,
int fieldByteArrayPosition,
int fieldByteArrayLength) |
static void |
TestDataSchema.publishChunkedStreamAndInt(Pipe<TestDataSchema> output,
byte[] fieldByteArrayBacking,
int fieldByteArrayPosition,
int fieldByteArrayLength,
int fieldIntValue) |
static void |
TestDataSchema.publishChunkedStreamAndLong(Pipe<TestDataSchema> output,
byte[] fieldByteArrayBacking,
int fieldByteArrayPosition,
int fieldByteArrayLength,
long fieldLongValue) |
static void |
PipeWriter.publishEOF(Pipe pipe)
This sends a poison pill.
|
static void |
PipeWriter.publishEOF(Pipe[] pipe)
This sends a poison pill.
|
static void |
Pipe.publishEOF(Pipe<?>[] pipe)
Publish an EOF value to all the outgoing pipes
|
static <S extends MessageSchema<S>> |
Pipe.publishEOF(Pipe<S> pipe)
Publish EOF message to the target pipe
|
static void |
PipeWriter.publishEOL(Pipe pipe)
This sends a poison pill.
|
static <S extends MessageSchema<S>> |
Pipe.publishHeadPositions(Pipe<S> pipe)
Internal method to publish head positions as part of publish writes process
|
static void |
TestDataSchema.publishInt(Pipe<TestDataSchema> output,
int fieldIntValue)
Writes int to specified pipe
|
static void |
TestDataSchema.publishIntAndChunkedStream(Pipe<TestDataSchema> output,
int fieldIntValue,
byte[] fieldByteArrayBacking,
int fieldByteArrayPosition,
int fieldByteArrayLength) |
static void |
TestDataSchema.publishLong(Pipe<TestDataSchema> output,
long fieldLongValue)
Writes long to specified pipe
|
static void |
TestDataSchema.publishLongAndChunkedStream(Pipe<TestDataSchema> output,
long fieldLongValue,
byte[] fieldByteArrayBacking,
int fieldByteArrayPosition,
int fieldByteArrayLength) |
static <S extends MessageSchema<S>> |
Pipe.publishWorkingHeadPosition(Pipe<S> pipe,
long workingHeadPos)
This method is only for build transfer stages that require direct manipulation of the position.
|
static <S extends MessageSchema<S>> |
Pipe.publishWorkingTailPosition(Pipe<S> pipe,
long workingTailPos)
This method is only for build transfer stages that require direct manipulation of the position.
|
static int |
PipeWriter.publishWrites(Pipe pipe) |
static void |
SchemalessPipe.publishWrites(Pipe<MessageSchemaDynamic> p) |
static <S extends MessageSchema<S>> |
Pipe.publishWrites(Pipe<S> pipe)
Low level API for publish for new fragment.
|
static <S extends MessageSchema<S>> |
Pipe.publishWrites(Pipe<S> pipe,
int optionalHiddenTrailingBytes)
Publish writes for this fragment so consumer stage can see it.
|
static <S extends MessageSchema<S>> |
Pipe.publishWritesBatched(Pipe<S> pipe)
Publish all the batched writes so they can all be seen by the consumer stage
|
static <S extends MessageSchema<S>,A extends Appendable> |
Pipe.readASCII(Pipe<S> pipe,
A target,
int meta,
int len)
Reads ASCII characters at given section of a pipe
|
static Appendable |
PipeReader.readASCII(Pipe pipe,
int loc,
Appendable target)
Reads ASCII from specified pipe
|
static int |
PipeReader.readASCII(Pipe pipe,
int loc,
char[] target,
int targetOffset)
Reads ASCII characters in specific location of given pipe
|
static byte |
PipeReader.readByte(Pipe pipe,
int loc)
Reads byte from specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.readByteArraMetaData(int pos,
Pipe<S> pipe)
Read meta data for a given var length field at this position
|
static <S extends MessageSchema<S>> |
Pipe.readByteArrayLength(int idx,
Pipe<S> pipe)
Read the length portion of the var length field
|
static <S extends MessageSchema<S>> |
Pipe.readBytes(Pipe<S> pipe,
byte[] target,
int targetIdx,
int targetMask,
int meta,
int len)
Reads bytes from specified pipe at given index
|
static <S extends MessageSchema<S>> |
Pipe.readBytes(Pipe<S> pipe,
ByteBuffer target,
int meta,
int len)
Read var length field into a target ByteBuffer
|
static <S extends MessageSchema<S>> |
Pipe.readBytes(Pipe<S> pipe,
DataOutputBlobWriter<?> target)
Read var length field from the pipe, position must be set up first.
|
static <S extends MessageSchema<S>> |
Pipe.readBytes(Pipe<S> pipe,
DataOutputBlobWriter<?> target,
int meta,
int len)
Read var length field into a DataOutputBlobWriter, eg another field.
|
static int |
PipeReader.readBytes(Pipe pipe,
int loc,
byte[] target,
int targetOffset)
Reads byte array at specified location in pipe
|
static int |
PipeReader.readBytes(Pipe pipe,
int loc,
byte[] target,
int targetOffset,
int targetMask)
Reads bytes in given pipe at specified location and populates target with bytes
|
static ByteBuffer |
PipeReader.readBytes(Pipe pipe,
int loc,
ByteBuffer target) |
static DataOutputBlobWriter<?> |
PipeReader.readBytes(Pipe pipe,
int loc,
DataOutputBlobWriter<?> target) |
static byte[] |
PipeReader.readBytesBackingArray(Pipe pipe,
int loc)
An access to internal data structures; advanced feature
|
static int |
PipeReader.readBytesLength(Pipe pipe,
int loc)
Reads the length of bytes at given section of a pipe
|
static int |
PipeReader.readBytesMask(Pipe pipe,
int loc) |
static int |
PipeReader.readBytesPosition(Pipe pipe,
int loc)
Reads positions of bytes at specified location in given pipe
|
static int |
PipeReader.readDecimalExponent(Pipe pipe,
int loc)
Reads decimal exponent from specified pipe
|
static long |
PipeReader.readDecimalMantissa(Pipe pipe,
int loc)
Reads decimal mantissa from specified pipe
|
static double |
SchemalessPipe.readDouble(Pipe<MessageSchemaDynamic> p) |
static double |
PipeReader.readDouble(Pipe pipe,
int loc)
Reads double from specified pipe
|
static boolean |
Pipe.readFieldFromInputStream(Pipe pipe,
InputStream inputStream,
int byteCount)
Read from InputStream and write the bytes to the var len field.
|
static void |
PipeReader.readFieldIntoDataOutput(int loc,
Pipe pipe,
DataOutput out) |
static void |
PipeReader.readFieldIntoOutputStream(int loc,
Pipe pipe,
OutputStream out)
Reads specified field in given pipe into the OutputStream
|
static float |
SchemalessPipe.readFloat(Pipe<MessageSchemaDynamic> p) |
static float |
PipeReader.readFloat(Pipe pipe,
int loc)
Reads float from specified pipe
|
static <S extends MessageSchema<S>> |
FragmentReader.readI(Pipe<S> pipe) |
static int |
SchemalessPipe.readInt(Pipe<MessageSchemaDynamic> p) |
static int |
PipeReader.readInt(Pipe pipe,
int loc)
Reads int from specified pipe
|
static float |
PipeReader.readIntBitsToFloat(Pipe pipe,
int loc)
Reads int bits from specified pipe and converts to float
|
void |
LittleEndianDataInputBlobReader.readInto(Pipe<?> selectedPipe,
int len) |
static int |
PipeReader.readIntSecure(Pipe pipe,
int loc,
int clearValue)
Reads int securely from specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.readIntValue(int idx,
Pipe<S> pipe)
Reads the data at a specific index on the given pipe and returns an int
|
static <S extends MessageSchema<S>> |
FragmentReader.readL(Pipe<S> pipe) |
static <S extends MessageSchema<S>> |
Pipe.readLong(int idx,
Pipe<S> pipe)
Reads the value at specified index on the given pipe and returns a long
|
static long |
SchemalessPipe.readLong(Pipe<MessageSchemaDynamic> p) |
static long |
PipeReader.readLong(Pipe pipe,
int loc)
Reads long from specified pipe
|
static double |
PipeReader.readLongBitsToDouble(Pipe pipe,
int loc)
Reads long bits from specified pipe and converts to double
|
static boolean |
PipeReader.readNextWithoutReleasingReadLock(Pipe pipe)
Reads next message without allowing ReadLock to be overwritten
|
static <S extends MessageSchema<S>> |
Pipe.readNextWithoutReleasingReadLock(Pipe<S> pipe)
Move cursor forward to next fragment for reading but does NOT release the previous fragment
to be written over.
|
static <S extends MessageSchema<S>,A extends Appendable> |
Pipe.readOptionalASCII(Pipe<S> pipe,
A target,
int meta,
int len)
Reads ASCII characters or an optional null at given section of a pipe
|
static <S extends MessageSchema<S>> |
Pipe.readOptionalUTF8(Pipe<S> pipe,
Appendable target,
int meta,
int len)
Reads UTF8 characters or a null value from the specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.readRingByteMetaData(int pos,
Pipe<S> pipe)
Deprecated.
|
static short |
PipeReader.readShort(Pipe pipe,
int loc)
Reads short from specified pipe
|
static <S extends MessageSchema<S>,A extends Appendable> |
Pipe.readUTF8(Pipe<S> pipe,
A target,
int meta,
int len)
Reads UTF8 characters from specified Pipe
|
static <A extends Appendable> |
PipeReader.readUTF8(Pipe pipe,
int loc,
A target)
Reads UTF8 from specified pipe
|
static int |
PipeReader.readUTF8(Pipe pipe,
int loc,
char[] target,
int targetOffset)
Reads UTF8 in specified pipe and writes characters to char[]
|
static <S extends MessageSchema<S>> |
Pipe.readValue(int idx,
Pipe<S> pipe)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.releaseAllBatchedReads(Pipe<S> pipe)
Release any reads that were held back due to batching.
|
static void |
PipeReader.releaseAllPendingReadLock(Pipe pipe)
Release all pending records
|
static <S extends MessageSchema<S>> |
Pipe.releaseAllPendingReadLock(Pipe<S> pipe)
Release all pending fragments for release
|
static void |
PipeReader.releaseAllPendingReadLock(Pipe pipe,
int consumed) |
static <S extends MessageSchema<S>> |
PendingReleaseData.releaseAllPendingReadRelease(PendingReleaseData that,
Pipe<S> pipe) |
static <S extends MessageSchema<S>> |
Pipe.releaseBatchedReadReleasesUpToPosition(Pipe<S> pipe,
long newTailToPublish,
int newTailBytesToPublish)
Release all batched read releases up to the passed in position.
|
static <S extends MessageSchema<S>> |
Pipe.releaseBatchedReadReleasesUpToThisPosition(Pipe<S> pipe)
Release all batched read releases up to the current position.
|
static <S extends MessageSchema<S>> |
Pipe.releasePendingAsReadLock(Pipe<S> pipe,
int consumed)
Release for write the old fragments which total up to the provided consumed number of bytes.
|
static <S extends MessageSchema<S>> |
PendingReleaseData.releasePendingAsReadRelease(PendingReleaseData that,
Pipe<S> pipe,
int consumed) |
static <S extends MessageSchema<S>> |
Pipe.releasePendingByteCount(Pipe<S> pipe)
Count of how many bytes are pending in the total of all pending release fragments
|
static <S extends MessageSchema<S>> |
Pipe.releasePendingCount(Pipe<S> pipe)
Count of how many fragments are pending release.
|
static <S extends MessageSchema<S>> |
Pipe.releasePendingReadLock(Pipe<S> pipe)
Release for write the old fragment read which are pending release.
|
static <S extends MessageSchema<S>> |
PendingReleaseData.releasePendingReadRelease(PendingReleaseData that,
Pipe<S> pipe) |
static int |
PipeReader.releaseReadLock(Pipe pipe)
Release the record which has been most recently read.
|
static <S extends MessageSchema<S>> |
Pipe.releaseReadLock(Pipe<S> pipe)
Release read lock on this fragment.
|
static void |
SchemalessPipe.releaseReads(Pipe<MessageSchemaDynamic> p) |
static <S extends MessageSchema<S>> |
Pipe.releaseReads(Pipe<S> pipe)
Deprecated.
|
static void |
Pipe.releaseReadsBatched(Pipe<MessageSchemaDynamic> pipe)
Publish all the batched up publish calls.
|
static void |
Pipe.removePubListener(Pipe p,
PipePublishListener listener)
Removes a pub listener from the specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.replayUnReleased(Pipe<S> pipe)
Back up the cursor read position.
|
static void |
Pipe.resetHead(Pipe pipe)
abandon what has been written in this fragment back to the markHead position.
|
static void |
Pipe.resetTail(Pipe pipe)
abandon what has been read and move back to top of fragment to read again.
|
static int |
SchemalessPipe.roomRemaining(Pipe<MessageSchemaDynamic> p) |
static <S extends MessageSchema<S>> |
Pipe.roomToLowLevelWrite(Pipe<S> pipe,
int size)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.schemaName(Pipe<S> pipe)
get name of the schema.
|
static <S extends MessageSchema<S>> |
Pipe.setBlobHeadPosition(Pipe<S> pipe,
int value)
Direct access to set blob head position
|
static <S extends MessageSchema<S>> |
Pipe.setBlobTailPosition(Pipe<S> pipe,
int value)
Direct access to set blob tail position
|
static <S extends MessageSchema<S>> |
Pipe.setBlobWorkingHead(Pipe<S> pipe,
int value)
Direct access method for setting blob working head position
|
static <S extends MessageSchema<S>> |
Pipe.setBlobWorkingTail(Pipe<S> pipe,
int value)
Direct method to set the blob working tail.
|
static <S extends MessageSchema<S>> |
Pipe.setByteArrayWithMask(Pipe<S> outputRing,
int mask,
int len,
byte[] data,
int offset,
long slabPosition)
Set byte array into specific location
|
static <S extends MessageSchema<S>> |
Pipe.setBytesTail(Pipe<S> pipe,
int value)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.setConsumerRegulation(Pipe<S> pipe,
int msgPerMs,
int msgSize)
Set the regulator value for the consumer of the pipe.
|
static <S extends MessageSchema<S>> |
Pipe.setIntValue(int value,
Pipe<S> pipe,
long position)
Writes int value to specific position in the given pipe
|
static <S extends MessageSchema<S>> |
Pipe.setMaxPublishBatchSize(Pipe<S> pipe)
Sets the publish batch size to the max supported by the pipe.
|
static <S extends MessageSchema<S>> |
Pipe.setMaxReleaseBatchSize(Pipe<S> pipe)
Sets the release batch size to the max supported by the pipe.
|
static <S extends MessageSchema<S>> |
Pipe.setProducerRegulation(Pipe<S> pipe,
int msgPerMs,
int msgSize)
Set the regulator value for the producer of the pipe.
|
static <S extends MessageSchema<S>> |
Pipe.setPublishBatchSize(Pipe<S> pipe,
int size)
sets specific batch publish size, publishes do not occur when called for but only when the
size count of publishes is reached.
|
static void |
PipeWriter.setPublishBatchSize(Pipe pipe,
int size)
Sets batch size to be published
|
static <S extends MessageSchema<S>> |
Pipe.setReleaseBatchSize(Pipe<S> pipe,
int size)
sets specific batch release size, releases do not occur when called for but only when the
size count of releases is reached.
|
PipeReaderUTF8MutableCharSquence |
PipeReaderUTF8MutableCharSquence.setToField(Pipe pipe,
int loc) |
PipeUTF8MutableCharSquence |
PipeUTF8MutableCharSquence.setToField(Pipe pipe,
int meta,
int len) |
static <S extends MessageSchema<S>> |
Pipe.setWorkingHead(Pipe<S> pipe,
long value)
Directly set the new working head position for the slab
|
static <S extends MessageSchema<S>> |
Pipe.setWorkingTailPosition(Pipe<S> pipe,
long value)
Direct access to set the working tail position
|
static <S extends MessageSchema<S>> |
Pipe.shutdown(Pipe<S> pipe)
shutdown this pipe now, this should only be called by internal logic for an emergency
|
static <S extends MessageSchema<S>> |
Pipe.sizeOf(Pipe<S> pipe,
int msgIdx)
returns size of this message as defined in the FROM and schema in this pipe.
|
static int |
PipeReader.sizeOfFragment(Pipe input)
Gives the size of the fragment from input to the end of pipe
|
static <S extends MessageSchema<S>> |
Pipe.skipNextFragment(Pipe<S> pipe)
skip over the next fragment and position for reading after that fragment
|
static <S extends MessageSchema<S>> |
Pipe.skipNextFragment(Pipe<S> pipe,
int msgIdx)
Skips over specified section of the pipe
|
static <S extends MessageSchema<S>> |
Pipe.slab(Pipe<S> pipe)
Direct access to slab backing array
|
static <S extends MessageSchema<S>> |
Pipe.slabMask(Pipe<S> pipe)
Direct access to the mask for looping the slab
|
static <S extends MessageSchema<S>> |
Pipe.spinWork(Pipe<S> pipe)
Only use this if you know what you are doing, eg we have enough threads.
|
static <S extends MessageSchema<S>> |
Pipe.splitPipes(int pipeCount,
Pipe<S>[] pipes)
Evenly split array of pipes across pipeCount arrays of arrays of pipes.
|
static int |
Pipe.storeBlobWorkingHeadPosition(Pipe<?> target)
Store working head position for use later when field position is written
|
static <S extends MessageSchema<S>> |
Pipe.storeUnpublishedWrites(Pipe<S> pipe)
Store the writes for publish later.
|
static StructRegistry |
Pipe.structRegistry(Pipe p)
Returns the struct registry held by this pipe
|
static void |
Pipe.structRegistry(Pipe p,
StructRegistry recordTypeData)
Store the StructRegistry and associate it with this pipe
|
static long |
PipeWriter.structuredPositionForLOC(Pipe pipe,
int loc)
Makes specified location in pipe structured
|
static void |
Pipe.sumWrittenFragments(Pipe<?> p,
long sum)
Called to accumulate total fragments written to this pipe
|
static <S extends MessageSchema<S>> |
Pipe.tailPosition(Pipe<S> pipe)
Direct access to the published tail position
|
static <S extends MessageSchema<S>> |
Pipe.takeByteArrayLength(Pipe<S> pipe)
consume the length for the var length byte field
|
static <S extends MessageSchema<S>> |
Pipe.takeByteArrayMetaData(Pipe<S> pipe)
Consume the meta data for the var length byte field.
|
static <S extends MessageSchema<S>> |
Pipe.takeInt(Pipe<S> pipe)
Read int and move the cursor forward
|
static <S extends MessageSchema<S>> |
Pipe.takeLong(Pipe<S> pipe)
Read the long position and move the cursor forward.
|
static <S extends MessageSchema<S>> |
Pipe.takeMsgIdx(Pipe<S> pipe)
Gets the index of a message in the pipe
|
static <S extends MessageSchema<S>> |
Pipe.takeOptionalLong(Pipe<S> pipe)
Take optional Long which may be null.
|
static <S extends MessageSchema<S>> |
Pipe.takeOptionalLong(Pipe<S> pipe,
long absent64Value)
Take optional Long which may be null.
|
static <S extends MessageSchema<S>> |
Pipe.takeOptionalValue(Pipe<S> pipe)
take optional Integer, this may be null.
|
static <S extends MessageSchema<S>> |
Pipe.takeOptionalValue(Pipe<S> pipe,
int absent32Value)
take optional Integer, this may be null.
|
static <S extends MessageSchema<S>> |
Pipe.takeRingByteLen(Pipe<S> pipe)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.takeRingByteMetaData(Pipe<S> pipe)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.takeValue(Pipe<S> pipe)
Deprecated.
|
static long |
Pipe.totalWrittenFragments(Pipe<?> p)
Returns the total count of all fragments written to this pipe since creation.
|
static boolean |
PipeReader.tryMoveSingleMessage(Pipe pipeIn,
Pipe pipeOut)
Copies current message from input ring to output ring.
|
static boolean |
PipeReader.tryMoveSingleMessage(Pipe pipeIn,
Pipe pipeOut)
Copies current message from input ring to output ring.
|
static <S extends MessageSchema<S>> |
PipeReader.tryReadFragment(Pipe<S> pipe) |
static <S extends MessageSchema<S>> |
Pipe.tryReplication(Pipe<S> pipe,
long historicSlabPosition,
int historicBlobPosition)
Replicate slab and blob data from an older fragment inside this same pipe up to the end.
|
static boolean |
PipeWriter.tryReplication(Pipe pipe,
long historicSlabPosition,
int historicBlobPosition)
Copy message previously sent and publish it again.
|
static boolean |
PipeWriter.tryWriteFragment(Pipe pipe,
int fragmentId)
Return true if there is room for the desired fragment in the output buffer.
|
static int |
Pipe.unstoreBlobWorkingHeadPosition(Pipe<?> target)
Clear the stored blob working head position since we are writing it to the slab.
|
static <S extends MessageSchema<S>> |
Pipe.validateBatchSize(Pipe<S> pipe,
int size)
Validate batch size is not too large
|
static <S extends MessageSchema<S>> |
Pipe.validateFieldCount(Pipe<S> pipe)
Used by assert any time we need to check the validity of what has been written to the pipe.
|
static <S extends MessageSchema<S>> |
Pipe.validatePipeBlobHasDataToRead(Pipe<S> pipe,
int blobPos,
int length)
Checks blob to see if there is data to read
|
static <S extends MessageSchema<S>> |
Pipe.validateVarLength(Pipe<S> pipe,
int length)
Confirm that the bytes written are less than the space available.
|
static <S extends MessageSchema<S>> |
Pipe.workingHeadPosition(Pipe<S> pipe)
Direct access to the working head position of the slab
|
static <S extends MessageSchema<S>> |
Pipe.wrappedBlobConstBuffer(Pipe<S> pipe)
Wrapped constant buffer as ByteBuffer
|
static <S extends MessageSchema<S>> |
Pipe.wrappedBlobReadingRingA(Pipe<S> pipe,
int meta,
int len)
Wrapped byte buffer for reading the backing ring.
|
static <S extends MessageSchema<S>> |
Pipe.wrappedBlobReadingRingB(Pipe<S> pipe,
int meta,
int len)
Wrapped byte buffer for reading the backing ring.
|
static <S extends MessageSchema<S>> |
Pipe.wrappedBlobRingA(Pipe<S> pipe)
Wrapped blob as a ByteBuffer
|
static <S extends MessageSchema<S>> |
Pipe.wrappedBlobRingB(Pipe<S> pipe)
Wrapped blob as a ByteBuffer
|
static <S extends MessageSchema<S>> |
Pipe.wrappedReadingBuffers(Pipe<S> pipe,
int meta,
int len)
Wrapped byte buffer array of 2 for reading the backing ring.
|
static <S extends MessageSchema<S>> |
Pipe.wrappedSlabRing(Pipe<S> pipe)
Wrapped slab as an IntBuffer
|
static ByteBuffer[] |
PipeReader.wrappedUnstructuredLayoutBuffer(Pipe pipe,
int loc) |
static void |
PipeWriter.wrappedUnstructuredLayoutBufferCancel(Pipe<?> target) |
static void |
PipeWriter.wrappedUnstructuredLayoutBufferClose(Pipe<?> target,
int loc,
int length)
Specifies to close the field
|
static ByteBuffer[] |
PipeWriter.wrappedUnstructuredLayoutBufferOpen(Pipe<?> target,
int loc)
Does not require tryWrite to be called first, we only need to check that there is room to write.
|
static ByteBuffer[] |
PipeWriter.wrappedUnstructuredLayoutBufferOpen(Pipe<?> target,
int maxLength,
int loc)
Does not require tryWrite to be called first, we only need to check that there is room to write.
|
static <S extends MessageSchema<S>> |
Pipe.wrappedWritingBuffers(int originalBlobPosition,
Pipe<S> output)
ByteBuffers which wrap the backing blob array as 2 buffers
|
static <S extends MessageSchema<S>> |
Pipe.wrappedWritingBuffers(int originalBlobPosition,
Pipe<S> output,
int maxLen)
ByteBuffers which wrap the backing blob array as 2 buffers
|
static <S extends MessageSchema<S>> |
Pipe.wrappedWritingBuffers(Pipe<S> output)
ByteBuffers which wrap the backing blob array as 2 buffers
|
static <S extends MessageSchema<S>> |
FragmentWriter.write(Pipe<S> pipe,
int msgIdx) |
static void |
PipeWriter.writeASCII(Pipe pipe,
int loc,
char[] source)
Writes ASCII to defined location in specified pipe
|
static void |
PipeWriter.writeASCII(Pipe pipe,
int loc,
char[] source,
int offset,
int length)
Writes ASCII to specified location in given pipe
|
static void |
PipeWriter.writeASCII(Pipe pipe,
int loc,
CharSequence source)
Writes ASCII to defined location in specified pipe
|
static void |
PipeWriter.writeASCII(Pipe pipe,
int loc,
CharSequence source,
int offset,
int length)
Writes ASCII to specified location in given pipe
|
static void |
PipeWriter.writeByte(Pipe pipe,
int loc,
byte value)
Writes byte to specified pipe
|
static void |
PipeWriter.writeBytes(Pipe pipe,
int loc,
byte[] source)
Writes bytes to given pipe at specified location
|
static void |
PipeWriter.writeBytes(Pipe pipe,
int loc,
byte[] source,
int offset,
int length)
Writes bytes to given pipe at specified location
|
static void |
PipeWriter.writeBytes(Pipe pipe,
int loc,
byte[] source,
int offset,
int length,
int mask)
Writes bytes to given pipe at specified location
|
static void |
PipeWriter.writeBytes(Pipe pipe,
int loc,
ByteBuffer source)
Writes bytes to given pipe at specified location
|
static void |
PipeWriter.writeBytes(Pipe pipe,
int loc,
ByteBuffer source,
int length)
Writes bytes to given pipe at specified location
|
static void |
PipeWriter.writeDecimal(Pipe pipe,
int loc,
int exponent,
long mantissa)
Writes decimal to specified pipe
|
static void |
SchemalessPipe.writeDouble(Pipe<MessageSchemaDynamic> p,
double value) |
static void |
PipeWriter.writeDouble(Pipe pipe,
int loc,
double value,
int places)
Writes double to specific location in pipe
|
static void |
PipeWriter.writeDoubleAsLongBits(Pipe pipe,
int loc,
double value)
Writes double to specified pipe as long bits
|
static void |
PipeWriter.writeFieldFromDataInput(Pipe pipe,
int loc,
DataInput dataInput,
int byteCount)
Writes field from data input in given pipe and location
|
static void |
PipeWriter.writeFieldFromInputStream(Pipe pipe,
int loc,
InputStream inputStream,
int byteCount)
Writes field from data received in the input stream
|
static <S extends MessageSchema<S>> |
Pipe.writeFieldToOutputStream(Pipe<S> pipe,
OutputStream out)
Read this var len field and write its contents to the target OutputStream
|
static void |
SchemalessPipe.writeFloat(Pipe<MessageSchemaDynamic> p,
float value) |
static void |
PipeWriter.writeFloat(Pipe pipe,
int loc,
float value,
int places)
Writes float to specific location in pipe
|
static void |
PipeWriter.writeFloatAsIntBits(Pipe pipe,
int loc,
float value) |
static <S extends MessageSchema<S>> |
FragmentWriter.writeI(Pipe<S> pipe,
int msgIdx,
int field1) |
static <S extends MessageSchema<S>> |
FragmentWriter.writeII(Pipe<S> pipe,
int msgIdx,
int field1,
int field2) |
static void |
SchemalessPipe.writeInt(Pipe<MessageSchemaDynamic> p,
int value) |
static void |
PipeWriter.writeInt(Pipe pipe,
int loc,
int value)
Writes int to specified pipe
|
static void |
PipeWriter.writeIntAsText(Pipe pipe,
int loc,
int value)
Writes given int as String in specified pipe
|
static <S extends MessageSchema<S>> |
FragmentWriter.writeL(Pipe<S> pipe,
int msgIdx,
long field1) |
static <S extends MessageSchema<S>> |
FragmentWriter.writeLI(Pipe<S> pipe,
int msgIdx,
long field1,
int field2) |
static <S extends MessageSchema<S>> |
FragmentWriter.writeLII(Pipe<S> pipe,
int msgIdx,
long field1,
int field2,
int field3) |
static <S extends MessageSchema<S>> |
FragmentWriter.writeLL(Pipe<S> pipe,
int msgIdx,
long field1,
long field2) |
static void |
SchemalessPipe.writeLong(Pipe<MessageSchemaDynamic> p,
long value) |
static void |
PipeWriter.writeLong(Pipe pipe,
int loc,
long value)
Writes long to specified pipe
|
static void |
PipeWriter.writeLongAsText(Pipe pipe,
int loc,
long value)
Writes a long as a String in given pipe
|
static <S extends MessageSchema<S>> |
FragmentWriter.writeLV(Pipe<S> pipe,
int msgIdx,
long field1,
byte[] field2Backing,
int field2Position,
int field2Length) |
static void |
PipeWriter.writeShort(Pipe pipe,
int loc,
short value)
Writes short to specified pipe
|
static void |
PipeWriter.writeSpecialBytesPosAndLen(Pipe pipe,
int loc,
int length,
int bytePos)
Writes bytes with specific position and length to given pipe
|
static <S extends MessageSchema<S>> |
Pipe.writeTrailingCountOfBytesConsumed(Pipe<S> pipe)
Records the count of bytes consumed by this fragment into the pipe.
|
static void |
PipeWriter.writeUTF8(Pipe pipe,
int loc,
char[] source)
Writes UTF8 to defined location in specified pipe
|
static void |
PipeWriter.writeUTF8(Pipe pipe,
int loc,
char[] source,
int offset,
int length)
Writes UTF8 to specified location in given pipe
|
static void |
PipeWriter.writeUTF8(Pipe pipe,
int loc,
CharSequence source)
Writes UTF8 to defined location in specified pipe
|
static void |
PipeWriter.writeUTF8(Pipe pipe,
int loc,
CharSequence source,
int offset,
int length)
Writes UTF8 to specified location in given pipe
|
| Constructor and Description |
|---|
ChannelReaderController(Pipe<RawDataSchema> pipe) |
ChannelWriterController(Pipe<RawDataSchema> pipe) |
DataInputBlobReader(Pipe<S> pipe) |
DataOutputBlobWriter(Pipe<S> p) |
LittleEndianDataInputBlobReader(Pipe<S> pipe) |
LittleEndianDataOutputBlobWriter(Pipe<S> p) |
PipeBundle(Pipe[] buffers)
Deprecated.
|
| Constructor and Description |
|---|
EventConsumer(Pipe output) |
EventProducer(Pipe input) |
InputPipeInvocationHandler(Pipe pipe,
int msgIdx,
Class<?> clazz) |
OutputPipeInvocationHandler(Pipe pipe,
int msgIdx,
Class<?> clazz) |
| Modifier and Type | Method and Description |
|---|---|
static void |
RingStreams.readFromInputStream(InputStream inputStream,
Pipe outputRing)
Deprecated.
|
static void |
RingStreams.visitBytes(Pipe inputRing,
ByteVisitor visitor)
Deprecated.
|
static void |
RingStreams.writeBytesToRing(byte[] data,
int dataOffset,
int dataLength,
Pipe output,
int blockSize)
Deprecated.
copied data array into ring buffer.
|
static void |
RingStreams.writeEOF(Pipe ring)
Deprecated.
|
static void |
RingStreams.writeToOutputStream(Pipe inputRing,
OutputStream outputStream)
Deprecated.
Copies all bytes from the inputRing to the outputStream.
|
static void |
RingStreams.writeToOutputStreams(Pipe inputRing,
OutputStream... outputStreams)
Deprecated.
Copies all bytes from the inputRing to each of the outputStreams.
|
| Constructor and Description |
|---|
AppendableASCIIRing(Pipe ringBuffer) |
AppendableUTF8Ring(Pipe ringBuffer) |
RingInputStream(Pipe pipe)
By definition an input stream is blocking so this adds a blocking API for the pipe;
|
RingOutputStream(Pipe pipe) |
StreamingReadVisitorMatcher(Pipe expectedInput) |
StreamingVisitorReader(Pipe<?> inputRing,
StreamingReadVisitor visitor,
boolean processUTF8) |
StreamingVisitorReader(Pipe inputRing,
StreamingReadVisitor visitor) |
StreamingVisitorWriter(Pipe outputRing,
StreamingWriteVisitor visitor) |
| Modifier and Type | Method and Description |
|---|---|
static void |
LocalHeap.addLocalHeapValue(int heapId,
int sourceLen,
LocalHeap byteHeap,
Pipe rbRingBuffer) |
| Modifier and Type | Method and Description |
|---|---|
static void |
TrieParserReader.parseSetup(TrieParserReader trieReader,
int loc,
Pipe<?> input) |
static void |
TrieParserReader.parseSetup(TrieParserReader trieReader,
Pipe<?> input) |
static long |
TrieParserReader.query(TrieParserReader trieReader,
TrieParser trie,
Pipe<?> input,
long unfoundResult) |
void |
TrieParser.setValue(Pipe p,
long value) |
void |
EncodingConverter.EncodingStorage.store(Pipe<RawDataSchema> pipe) |
static int |
TrieParserReader.writeCapturedUTF8ToPipe(TrieParserReader reader,
Pipe<?> target,
int idx,
int loc) |
| Modifier and Type | Method and Description |
|---|---|
static <A extends Appendable> |
JSONParser.parse(Pipe<?> pipe,
TrieParserReader reader,
JSONVisitor visitor) |
static <A extends Appendable> |
JSONParser.parse(Pipe pipe,
int loc,
TrieParserReader reader,
JSONVisitor visitor) |
| Constructor and Description |
|---|
JSONStreamVisitorToPipe(Pipe<M> pipe,
Class<K> keys,
int bottom,
MapJSONToPipeBuilder<M,K> mapper) |
Copyright © 2018. All Rights Reserved.