T
- type of identifier supplied to the call that made the queue.public interface AsyncObjectLoaderQueue<T extends ObjectId> extends AsyncOperation
Modifier and Type | Method and Description |
---|---|
T |
getCurrent() |
ObjectId |
getObjectId() |
boolean |
next()
Position this queue onto the next available result.
|
ObjectLoader |
open()
Obtain a loader to read the object.
|
cancel, release
boolean next() throws MissingObjectException, IOException
open()
may still throw
MissingObjectException
if the underlying object database was
concurrently modified and the current object is no longer available.MissingObjectException
- the object does not exist. If the implementation is retaining
the application's objects getCurrent()
will be the
current object that is missing. There may be more results
still available, so the caller should continue invoking next
to examine another result.IOException
- the object store cannot be accessed.T getCurrent()
getObjectId()
.ObjectId getObjectId()
ObjectLoader open() throws IOException
MissingObjectException
- the object does not exist. If the implementation is retaining
the application's objects getCurrent()
will be the
current object that is missing. There may be more results
still available, so the caller should continue invoking next
to examine another result.IOException
- the object store cannot be accessed.Copyright © 2015 Eclipse JGit Project. All rights reserved.