public class VBox<E> extends Object
Modifier and Type | Field and Description |
---|---|
protected HGTransactionManager |
txManager |
Modifier | Constructor and Description |
---|---|
protected |
VBox()
for sub-classing only....
|
|
VBox(HGTransactionManager txManager) |
|
VBox(HGTransactionManager txManager,
E initial) |
Modifier and Type | Method and Description |
---|---|
VBoxBody<E> |
commit(HGTransaction tx,
E newValue,
long txNumber) |
void |
finish(HGTransaction tx) |
E |
get() |
VBoxBody<E> |
makeNewBody(E value,
long version,
VBoxBody<E> next) |
void |
put(E newE)
Same as
get , except the value is not marked is being read. |
protected HGTransactionManager txManager
protected VBox()
public VBox(HGTransactionManager txManager)
public VBox(HGTransactionManager txManager, E initial)
public E get()
public void put(E newE)
Same as get
, except the value is not marked is being read.
Thus, if a transaction only writes to a value, that won't conflict with any
other transactions. Calling this method makes sense for aggregate structures
(collections or records) that are only written to.
public VBoxBody<E> commit(HGTransaction tx, E newValue, long txNumber)
public void finish(HGTransaction tx)
Copyright © 2015. All rights reserved.