Examples of ReadPreferenceOption


Examples of org.hibernate.ogm.datastore.mongodb.options.impl.ReadPreferenceOption

  }

  @Override
  public MongoDBPropertyContext readPreference(ReadPreferenceType readPreference) {
    Contracts.assertParameterNotNull( readPreference, "readPreference" );
    addPropertyOption( new ReadPreferenceOption(), readPreference.getReadPreference() );
    return this;
  }
View Full Code Here

Examples of org.hibernate.ogm.datastore.mongodb.options.impl.ReadPreferenceOption

  }

  @Override
  public MongoDBGlobalContext readPreference(ReadPreferenceType readPreference) {
    Contracts.assertParameterNotNull( readPreference, "readPreference" );
    addGlobalOption( new ReadPreferenceOption(), readPreference.getReadPreference() );
    return this;
  }
View Full Code Here

Examples of org.hibernate.ogm.datastore.mongodb.options.impl.ReadPreferenceOption

  }

  @Override
  public MongoDBEntityContext readPreference(ReadPreferenceType readPreference) {
    Contracts.assertParameterNotNull( readPreference, "readPreference" );
    addEntityOption( new ReadPreferenceOption(), readPreference.getReadPreference() );
    return this;
  }
View Full Code Here

Examples of org.hibernate.ogm.datastore.mongodb.options.impl.ReadPreferenceOption

  }

  @Override
  public MongoDBPropertyContext readPreference(ReadPreferenceType readPreference) {
    Contracts.assertParameterNotNull( readPreference, "readPreference" );
    addPropertyOption( new ReadPreferenceOption(), readPreference.getReadPreference() );
    return this;
  }
View Full Code Here

Examples of org.hibernate.ogm.datastore.mongodb.options.impl.ReadPreferenceOption

  }

  @Override
  public MongoDBGlobalContext readPreference(ReadPreferenceType readPreference) {
    Contracts.assertParameterNotNull( readPreference, "readPreference" );
    addGlobalOption( new ReadPreferenceOption(), readPreference.getReadPreference() );
    return this;
  }
View Full Code Here

Examples of org.hibernate.ogm.datastore.mongodb.options.impl.ReadPreferenceOption

  }

  @Override
  public MongoDBEntityContext readPreference(ReadPreferenceType readPreference) {
    Contracts.assertParameterNotNull( readPreference, "readPreference" );
    addEntityOption( new ReadPreferenceOption(), readPreference.getReadPreference() );
    return this;
  }
View Full Code Here

Examples of org.hibernate.ogm.datastore.mongodb.options.impl.ReadPreferenceOption

  }

  @Override
  public MongoDBEntityContext readPreference(ReadPreferenceType readPreference) {
    Contracts.assertParameterNotNull( readPreference, "readPreference" );
    addEntityOption( new ReadPreferenceOption(), readPreference.getReadPreference() );
    return this;
  }
View Full Code Here

Examples of org.hibernate.ogm.datastore.mongodb.options.impl.ReadPreferenceOption

  }

  @Override
  public MongoDBPropertyContext readPreference(ReadPreferenceType readPreference) {
    Contracts.assertParameterNotNull( readPreference, "readPreference" );
    addPropertyOption( new ReadPreferenceOption(), readPreference.getReadPreference() );
    return this;
  }
View Full Code Here

Examples of org.hibernate.ogm.datastore.mongodb.options.impl.ReadPreferenceOption

  }

  @Override
  public MongoDBGlobalContext readPreference(ReadPreferenceType readPreference) {
    Contracts.assertParameterNotNull( readPreference, "readPreference" );
    addGlobalOption( new ReadPreferenceOption(), readPreference.getReadPreference() );
    return this;
  }
View Full Code Here

Examples of org.hibernate.ogm.datastore.mongodb.options.impl.ReadPreferenceOption

  }

  @Override
  public MongoDBEntityContext readPreference(ReadPreferenceType readPreference) {
    Contracts.assertParameterNotNull( readPreference, "readPreference" );
    addEntityOption( new ReadPreferenceOption(), readPreference.getReadPreference() );
    return this;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.