protected static class Grid.UpdateQueue extends Object implements ArrayUpdater.Update
Modifier | Constructor and Description |
---|---|
protected |
UpdateQueue(GridArrayUpdater.UpdateQueueData data,
int size) |
Modifier and Type | Method and Description |
---|---|
void |
clear(int start,
int length)
Clears
length elements in array from the start
position. |
void |
commit() |
void |
commit(int updateId)
Commits changes for the given
updateId . |
void |
enqueue(String name,
Serializable... arguments) |
GridArrayUpdater.UpdateQueueData |
getData()
Gets
GridArrayUpdater.UpdateQueueData for this queue. |
protected Element |
getElement() |
void |
set(int start,
List<elemental.json.JsonValue> items)
Sets the
items at the start position. |
protected UpdateQueue(GridArrayUpdater.UpdateQueueData data, int size)
public void set(int start, List<elemental.json.JsonValue> items)
ArrayUpdater.Update
items
at the start
position.set
in interface ArrayUpdater.Update
start
- the start indexitems
- the items to setpublic void clear(int start, int length)
ArrayUpdater.Update
length
elements in array from the start
position.clear
in interface ArrayUpdater.Update
start
- the start indexlength
- the number of elements to clearpublic void commit(int updateId)
ArrayUpdater.Update
updateId
.commit
in interface ArrayUpdater.Update
updateId
- the update identifier of the commitpublic void commit()
public void enqueue(String name, Serializable... arguments)
protected Element getElement()
public GridArrayUpdater.UpdateQueueData getData()
GridArrayUpdater.UpdateQueueData
for this queue.GridArrayUpdater.UpdateQueueData
object.Copyright © 2023. All rights reserved.