Callback
s, that are used by the driver.See: Description
Interface | Description |
---|---|
AddressAware |
AddressAware provides an interface for callbacks that need to know the server
that was sent the request.
|
Receiver |
Receiver provides an interface for a class that receives messages from the
server so that blocking futures can try and periodically receive messages.
|
ReplyCallback |
ReplyCallback provides an interface for the receive processing to determine
is a callback can be safely called on the receiver's thread.
|
Class | Description |
---|---|
AbstractReplyCallback<F> |
Helper class for constructing callbacks that convert a
Reply message
into a different type of result. |
AbstractValidatingReplyCallback |
Helper class for constructing callbacks that convert a
Reply message
into a different type of result. |
BatchedInsertCountingCallback |
BatchedInsertCountingCallback is designed to work with the
BatchedWriteCallback . |
BatchedNativeWriteCallback |
BatchedWriteCallback provides the global callback for the batched writes when
the server does not support the write commands.
|
BatchedWriteCallback |
BatchedWriteCallback provides the global callback for the batched writes.
|
CommandCursorTranslator |
CommandCursorTranslator provides static utility methods to translate cursor
documents.
|
CursorCallback | |
CursorStreamingCallback |
Callback to convert a
CursorableMessage Reply into a series
of callback for each document received. |
FutureReplyCallback |
FutureReplyCallback provides a
FutureCallback that also implements
the ReplyCallback interface. |
IteratorToListCallbackAdapter |
IteratorToListCallbackAdapter provides the ability to translate a
MongoIterator callback into a list callback.
|
LegacyStreamCallbackAdapter | Deprecated
Deprecated to ensure this class is removed with the
AsyncMongoCollection.streamingFind(Callback, com.allanbank.mongodb.bson.DocumentAssignable)
and
AsyncMongoCollection.streamingFind(Callback, com.allanbank.mongodb.builder.Find)
methods. |
LongToIntCallback |
LongToIntCallback provides a simple callback wrapper to convert the long
value to an integer.
|
MultipleCursorCallback | |
NoOpCallback |
NoOpCallback provides a callback that does nothing.
|
ReplyArrayCallback |
Callback to expect and extract a single document from the reply and then
extract its contained array.
|
ReplyCommandCallback |
Callback to expect and extract a single document from the reply.
|
ReplyDocumentCallback |
Callback to expect and extract a single document from the reply and then
extract its contained document.
|
ReplyHandler |
ReplyHandler provides the capability to properly handle the replies to a
callback.
|
ReplyIntegerCallback |
Callback to expect and extract a single document from the reply and then
extract a contained
NumericElement and coerce it to a integer value. |
ReplyLongCallback |
Callback to expect and extract a single document from the reply and then
extract a contained
NumericElement and coerce it to a long value. |
ReplyResultCallback |
Callback to extract the map/reduce and aggregation results from the reply.
|
SingleDocumentCallback |
Callback to convert a
Reply into a single document. |
SingleDocumentReplyCallback |
Callback to expect and extract a single document from the reply.
|
TextCallback | Deprecated
Support for the
text command was deprecated in the 2.6
version of MongoDB. |
ValidatingReplyCallback |
ValidatingCallback to expect and extract a single document from the reply.
|
Callback
s, that are used by the driver.
Users should not need to directly use the classes within this package.
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.