public class MongoDBSymbols extends Object
ApplicationDefaults
.
All Symbol
are relative to the usage of
MongoDB support within Apache Tapestry.Modifier and Type | Field and Description |
---|---|
static String |
CONNECTIONS_PER_HOSTS
The maximum number of connections allowed per host for this Mongo instance.
|
static String |
CONSISTENT_REQUEST
Where to use or not the consisten request paradigm.
|
static String |
DB_PASSWORD
Password to use to connect Mongo DB.
|
static String |
DB_USERNAME
Username to use to connect Mongo DB.
|
static String |
DEFAULT_DB_NAME
The MongoDB default database name to connect to.
|
static String |
READ_PREFERENCE
The
ReadPreference to use. |
static String |
SECURE_MODE
true if you need to connect to Mongo DB in secure mode,
false otherwise. |
static String |
WRITE_CONCERN
The
WriteConcern to use. |
Constructor and Description |
---|
MongoDBSymbols() |
public static final String WRITE_CONCERN
WriteConcern
to use. Default to WriteConcern.ACKNOWLEDGED
.public static final String READ_PREFERENCE
ReadPreference
to use. Default to ReadPreference.primary()
.public static final String CONNECTIONS_PER_HOSTS
public static final String DEFAULT_DB_NAME
public static final String CONSISTENT_REQUEST
public static final String SECURE_MODE
true
if you need to connect to Mongo DB in secure mode,
false
otherwise.
You need to set DB_USERNAME and DB_PASSWORD too if this is set to true
.
Defaults to false
public static final String DB_USERNAME
public static final String DB_PASSWORD
public MongoDBSymbols()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.