List of usage examples for com.mongodb MongoClientSettings getWriteConcern
public WriteConcern getWriteConcern()
From source file:com.navercorp.pinpoint.plugin.mongo.interceptor.MongoDriverConnectInterceptor3_7.java
License:Apache License
private String getWriteConcern(Object arg) { if (!(arg instanceof MongoClientSettings)) { return null; }//from w w w . j a v a 2 s .c o m final MongoClientSettings mongoClientSettings = (MongoClientSettings) arg; return MongoUtil.getWriteConcern0(mongoClientSettings.getWriteConcern()); }