com.epam.fix.message.storage
Class ArenaMessageStorage
java.lang.Object
com.epam.fix.message.MessageStorage
com.epam.fix.message.storage.ByteBufferStorage
com.epam.fix.message.storage.ArenaMessageStorage
- All Implemented Interfaces:
- ContinuousMessageStorage
public class ArenaMessageStorage
- extends ByteBufferStorage
- implements ContinuousMessageStorage
Created by IntelliJ IDEA.
User: Alexander_Sereda
Date: 26.10.12
Time: 13:36
To change this template use File | Settings | File Templates.
Methods inherited from class com.epam.fix.message.MessageStorage |
getAsBoolean, getAsByte, getAsByteArray, getAsDouble, getAsLong, getAsString, getAsStringBuffer, updateValue, updateValue, updateValue, updateValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARENA_STORAGE_INITIAL_SIZE
protected static final int ARENA_STORAGE_INITIAL_SIZE
- See Also:
- Constant Field Values
ARENA_STORAGE_GROW_INCREMENT
protected static final int ARENA_STORAGE_GROW_INCREMENT
- See Also:
- Constant Field Values
MAX_BYTES_IN_ARENA_STORAGE
public static final int MAX_BYTES_IN_ARENA_STORAGE
- See Also:
- Constant Field Values
ArenaMessageStorage
public ArenaMessageStorage()
overflow
public boolean overflow()
getOffset
public int getOffset()
getByteArray
public byte[] getByteArray(int index)
- Specified by:
getByteArray
in class MessageStorage
clearAll
public void clearAll()
- Specified by:
clearAll
in class MessageStorage
add
public void add(byte[] value,
int offset,
int length)
add
public void add(int tagIndex,
byte[] value,
int offset,
int length)
- Specified by:
add
in class MessageStorage
getByteBuffer
protected ByteBuffer getByteBuffer(int tagIndex)
- Specified by:
getByteBuffer
in class ByteBufferStorage
copy
public void copy(ArenaMessageStorage srcStorage)
getByteArray
public byte[] getByteArray()
- Specified by:
getByteArray
in interface ContinuousMessageStorage
getStartOffset
public int getStartOffset()
- Specified by:
getStartOffset
in interface ContinuousMessageStorage
getLength
public int getLength()
- Specified by:
getLength
in interface ContinuousMessageStorage
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in class MessageStorage
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.