public class ExtendedByteArrayOutputBuffer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ExtendedByteArrayOutputBuffer.IndexAndDataOut
Holder for index & DataOutput objects
|
Modifier and Type | Field and Description |
---|---|
static IntConfOption |
CAPACITY_OF_DATAOUT_IN_BUFFER
This option sets the capacity of an
ExtendedDataOutput instance created in
ExtendedByteArrayOutputBuffer |
static FloatConfOption |
FILLING_THRESHOLD_OF_DATAOUT_IN_BUFFER
This option sets the maximum fraction of a
ExtendedDataOutput instance (stored in
ExtendedByteArrayOutputBuffer )
that can be filled |
Constructor and Description |
---|
ExtendedByteArrayOutputBuffer(ImmutableClassesGiraphConfiguration<?,?,?> config)
Constructor
|
Modifier and Type | Method and Description |
---|---|
ExtendedDataOutput |
getDataOutput(int index)
Get dataoutput from bytearrayOutputs
|
ExtendedByteArrayOutputBuffer.IndexAndDataOut |
getIndexAndDataOut()
Return threadLocal indexAndDataOutput instance
|
public static final IntConfOption CAPACITY_OF_DATAOUT_IN_BUFFER
ExtendedDataOutput
instance created in
ExtendedByteArrayOutputBuffer
public static final FloatConfOption FILLING_THRESHOLD_OF_DATAOUT_IN_BUFFER
ExtendedDataOutput
instance (stored in
ExtendedByteArrayOutputBuffer
)
that can be filledpublic ExtendedByteArrayOutputBuffer(ImmutableClassesGiraphConfiguration<?,?,?> config)
config
- configurationpublic ExtendedByteArrayOutputBuffer.IndexAndDataOut getIndexAndDataOut()
public ExtendedDataOutput getDataOutput(int index)
index
- index in bytearrayOutputsCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.