Search in sources :

Example 1 with LongDeque

use of org.hsqldb_voltpatches.lib.LongDeque in project voltdb by VoltDB.

the class SessionContext method push.

public void push() {
    if (stack == null) {
        stack = new HsqlArrayList(true);
    }
    stack.add(dynamicArguments);
    stack.add(routineArguments);
    stack.add(routineVariables);
    stack.add(rangeIterators);
    stack.add(savepoints);
    stack.add(savepointTimestamps);
    rangeIterators = new RangeIterator[4];
    savepoints = new HashMappedList(4);
    savepointTimestamps = new LongDeque();
    String name = HsqlNameManager.getAutoSavepointNameString(session.actionTimestamp, depth);
    session.savepoint(name);
    depth++;
}
Also used : HashMappedList(org.hsqldb_voltpatches.lib.HashMappedList) HsqlArrayList(org.hsqldb_voltpatches.lib.HsqlArrayList) LongDeque(org.hsqldb_voltpatches.lib.LongDeque)

Aggregations

HashMappedList (org.hsqldb_voltpatches.lib.HashMappedList)1 HsqlArrayList (org.hsqldb_voltpatches.lib.HsqlArrayList)1 LongDeque (org.hsqldb_voltpatches.lib.LongDeque)1