* @throws GarbageException
*/
public DataRecordIdentifier pollFirstToGarbage() throws GarbageException {
final DataRecordIdentifier toGarbageDataRecordIdentifier;
try {
final DataRecordIdentifierRBTNode first =
/**/(DataRecordIdentifierRBTNode) toGarbageTree.first();
if (first == null) {
toGarbageDataRecordIdentifier = null;
if (LOGGER.debugEnabled) {
LOGGER.debug("no first to garbage");
}
} else {
toGarbageDataRecordIdentifier = first.getElement();
final DataRecordIdentifier firstNodeDataRecordIdentifier = first
.getDataRecordIdentifier();
toGarbageTree.deleteExistingNode(first);
heapRecordableManager.delete(firstNodeDataRecordIdentifier);
if (LOGGER.debugEnabled) {
LOGGER.debug("object data record #"