public class MongoCredentialWithCache
extends java.lang.Object
Constructor and Description |
---|
MongoCredentialWithCache(MongoCredential credential) |
MongoCredentialWithCache(MongoCredential credential,
com.mongodb.internal.connection.MongoCredentialWithCache.Cache cache) |
Modifier and Type | Method and Description |
---|---|
AuthenticationMechanism |
getAuthenticationMechanism() |
MongoCredential |
getCredential() |
<T> T |
getFromCache(java.lang.Object key,
java.lang.Class<T> clazz) |
void |
putInCache(java.lang.Object key,
java.lang.Object value) |
MongoCredentialWithCache |
withMechanism(AuthenticationMechanism mechanism) |
static java.util.List<MongoCredentialWithCache> |
wrapCredentialList(java.util.List<MongoCredential> credentialList) |
public MongoCredentialWithCache(MongoCredential credential)
public MongoCredentialWithCache(MongoCredential credential, com.mongodb.internal.connection.MongoCredentialWithCache.Cache cache)
public static java.util.List<MongoCredentialWithCache> wrapCredentialList(java.util.List<MongoCredential> credentialList)
public MongoCredentialWithCache withMechanism(AuthenticationMechanism mechanism)
public AuthenticationMechanism getAuthenticationMechanism()
public MongoCredential getCredential()
public <T> T getFromCache(java.lang.Object key, java.lang.Class<T> clazz)
public void putInCache(java.lang.Object key, java.lang.Object value)
Copyright © 2010 - 2020 Adobe. All Rights Reserved