public interface IBucketWriteTrx extends IBucketReadTrx
IBucketWriteTrx
can afterwards get datas from the bucket-layer and the underlaying backend as well
as store new IData
s in the backend.Modifier and Type | Method and Description |
---|---|
void |
commit()
Simple commit of this bucket transaction to store the newest version.
|
void |
commitBlocked()
Simple commit blocked of this bucket transaction to store the newest version.
|
long |
incrementDataKey()
Getting most recent data key and incrementing it.
|
void |
removeData(IData pData)
Removing the data from the storage.
|
long |
setData(IData pData)
Setting a data and storing the data in the bucket-layer.
|
close, getData, getMetaBucket, getRevision, isClosed
long incrementDataKey()
long setData(IData pData) throws TTException
pData
- the data to be stored.TTException
- if anything weird happens.void removeData(IData pData) throws TTException
pData
- to be removedTTException
void commit() throws TTException
if
- anything weird happensTTException
void commitBlocked() throws TTException
if
- anything weird happensTTException
Copyright © 2013. All Rights Reserved.