public class PbsOutputStream extends GSByteArrayOutputStream implements IThreadLocalResource
Modifier and Type | Field and Description |
---|---|
protected static int |
SIZE_INT |
protected static int |
SIZE_LONG |
protected static int |
SIZE_UUID |
_buffer, _count
Constructor and Description |
---|
PbsOutputStream() |
PbsOutputStream(int size) |
Modifier and Type | Method and Description |
---|---|
boolean |
isUsed() |
void |
release()
Release the resource, set is as unused
|
void |
setAsUsed()
Set the resource as used
|
void |
writeBinaryObject(BinaryObject value) |
void |
writeBoolean(boolean value) |
void |
writeBooleanArray(boolean[] array) |
void |
writeBooleanWrapperArray(Boolean[] array) |
void |
writeByteArray(byte[] array) |
void |
writeByteWrapperArray(Byte[] array) |
void |
writeChar(char value) |
void |
writeCharArray(char[] array) |
void |
writeCharWrapperArray(Character[] array) |
void |
writeDateTime(Date value) |
void |
writeDateTimeArray(Date[] array) |
void |
writeDecimal(BigDecimal value) |
void |
writeDecimalArray(BigDecimal[] array) |
void |
writeDouble(double value) |
void |
writeDoubleArray(double[] array) |
void |
writeDoubleWrapperArray(Double[] array) |
void |
writeFloat(float value) |
void |
writeFloatArray(float[] array) |
void |
writeFloatWrapperArray(Float[] array) |
void |
writeInt(int value) |
void |
writeIntArray(int[] array) |
void |
writeIntegerWrapperArray(Integer[] array) |
void |
writeIntFixed(int value) |
void |
writeLong(long value) |
void |
writeLongArray(long[] array) |
void |
writeLongFixed(long value) |
void |
writeLongWrapperArray(Long[] array) |
void |
writeProperties(Properties properties) |
void |
writeRepetitiveString(String value) |
void |
writeShort(short value) |
void |
writeShortArray(short[] array) |
void |
writeShortWrapperArray(Short[] array) |
void |
writeString(String value) |
void |
writeStringArray(String[] array) |
void |
writeUUID(UUID value) |
void |
writeUUIDArray(UUID[] array) |
copyToBuffer, ensureCapacity, getBuffer, getCapacity, getCompactBuffer, getCount, reset, setBuffer, setBuffer, setSize, size, toByteArray, write, write, writeByte, writeTo
close, flush, write
protected static final int SIZE_INT
protected static final int SIZE_LONG
protected static final int SIZE_UUID
public PbsOutputStream()
public PbsOutputStream(int size)
public void writeShort(short value)
public void writeInt(int value)
public void writeIntFixed(int value)
public void writeLong(long value)
public void writeLongFixed(long value)
public void writeFloat(float value)
public void writeDouble(double value)
public void writeBoolean(boolean value)
public void writeChar(char value)
public void writeString(String value)
public void writeRepetitiveString(String value)
public void writeDateTime(Date value)
public void writeDecimal(BigDecimal value)
public void writeUUID(UUID value)
public void writeByteArray(byte[] array)
public void writeShortArray(short[] array)
public void writeIntArray(int[] array)
public void writeLongArray(long[] array)
public void writeFloatArray(float[] array)
public void writeDoubleArray(double[] array)
public void writeBooleanArray(boolean[] array)
public void writeCharArray(char[] array)
public void writeStringArray(String[] array)
public void writeDateTimeArray(Date[] array)
public void writeDecimalArray(BigDecimal[] array)
public void writeUUIDArray(UUID[] array)
public void writeByteWrapperArray(Byte[] array)
public void writeShortWrapperArray(Short[] array)
public void writeIntegerWrapperArray(Integer[] array)
public void writeLongWrapperArray(Long[] array)
public void writeFloatWrapperArray(Float[] array)
public void writeDoubleWrapperArray(Double[] array)
public void writeBooleanWrapperArray(Boolean[] array)
public void writeCharWrapperArray(Character[] array)
public void writeProperties(Properties properties)
public void writeBinaryObject(BinaryObject value)
public boolean isUsed()
isUsed
in interface IThreadLocalResource
public void release()
IThreadLocalResource
release
in interface IThreadLocalResource
public void setAsUsed()
IThreadLocalResource
setAsUsed
in interface IThreadLocalResource
Copyright © GigaSpaces.