public interface WriteConcernResolver
WriteConcern to use for a given MongoAction. Return the passed
in default WriteConcern (a property on MongoAction) if no determination can be made.| Modifier and Type | Method and Description |
|---|---|
com.mongodb.WriteConcern |
resolve(MongoAction action)
Resolve the
WriteConcern given the MongoAction. |
com.mongodb.WriteConcern resolve(MongoAction action)
WriteConcern given the MongoAction.action - describes the context of the Mongo action. Contains a default WriteConcern to use if one
should not be resolved.WriteConcern based on the passed in MongoAction value, maybe null.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.