Class CommandBuffer

java.lang.Object
org.teamapps.uisession.CommandBuffer

public class CommandBuffer
extends java.lang.Object
NOT THREAD-SAFE! Synchronization must be provided by using code.
  • Constructor Summary

    Constructors 
    Constructor Description
    CommandBuffer​(int capacity)  
  • Method Summary

    Modifier and Type Method Description
    void addCommand​(CMD command)  
    void clear()  
    CMD consumeCommand()  
    long getNextCommandId()  
    void purgeTillCommand​(int commandIdExclusive)  
    boolean rewindToCommand​(long commandId)  
    int size()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait