Package de.caluga.morphium.driver.wire
Schnittstelle MongoConnection
- Alle Superschnittstellen:
AutoCloseable,Closeable
- Alle bekannten Implementierungsklassen:
InMemoryDriver,SingleMongoConnection
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidclose()voidconnect(MorphiumDriver drv, String host, int port) getAnswerFor(int queryId, int batchsize) intgetReplyFor(int msgid, long timeout) intbooleankillCursors(String db, String coll, long... ids) readAnswerFor(int queryId) readSingleAnswer(int id) voidrelease()booleanreplyAvailableFor(int msgId) intsendCommand(MongoCommand cmd) voidsetCredentials(String authDb, String userName, String password) voidwatch(WatchCommand settings)
-
Methodendetails
-
setCredentials
-
connect
HelloResult connect(MorphiumDriver drv, String host, int port) throws IOException, MorphiumDriverException - Löst aus:
IOExceptionMorphiumDriverException
-
getDriver
MorphiumDriver getDriver() -
getSourcePort
int getSourcePort() -
close
void close()- Angegeben von:
closein SchnittstelleAutoCloseable- Angegeben von:
closein SchnittstelleCloseable
-
release
void release() -
isConnected
boolean isConnected() -
getConnectedTo
String getConnectedTo() -
getConnectedToHost
String getConnectedToHost() -
getConnectedToPort
int getConnectedToPort() -
closeIteration
- Löst aus:
MorphiumDriverException
-
killCursors
- Löst aus:
MorphiumDriverException
-
replyAvailableFor
boolean replyAvailableFor(int msgId) -
getReplyFor
- Löst aus:
MorphiumDriverException
-
readSingleAnswer
- Löst aus:
MorphiumDriverException
-
watch
- Löst aus:
MorphiumDriverException
-
readAnswerFor
- Löst aus:
MorphiumDriverException
-
getAnswerFor
- Löst aus:
MorphiumDriverException
-
readAnswerFor
- Löst aus:
MorphiumDriverException
-
sendCommand
- Löst aus:
MorphiumDriverException
-