public class GbjParameters
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
AUTOMATIC_TRANSACTIONS
Constant for automatic transaction mode
|
static int |
AutomaticTransactions
Use this value in transactionMode to specify chained (automatic)
transaction mode.
|
java.lang.String |
brokerMachine
Deprecated.
As of GBJ30, this parameter has no effect.
|
int |
brokerPort
Deprecated.
As of GBJ30, this parameter has no effect.
|
int |
connectTimeout
Deprecated.
As of GBJ30, this parameter has no effect.
|
static java.lang.String |
DEFAULT_BROKER_MACHINE
Deprecated.
As of GBJ30, this constant is irrelevant
|
static int |
DEFAULT_BROKER_PORT
Deprecated.
As of GBJ30, this constant is irrelevant
|
static int |
DEFAULT_CONNECTION_TIMEOUT
Deprecated.
As of GBJ30, this constant is irrelevant
|
static int |
DEFAULT_FORMAT
Constant for the default oop format (FORMAT32)
|
static int |
DEFAULT_TIMEOUT
Deprecated.
As of GBJ30, this constant is irrelevant
|
static int |
DEFAULT_TRANSACTION_MODE
Constant for default transaction mode (manual)
|
int |
format
The oop format for this connection.
|
static int |
FORMAT642 |
java.lang.String |
gemnetName
The GemStone gem service, defaults to "gemnetobject", may not be "gcilnkobj" in this jar.
|
static int |
MANUAL_TRANSACTIONS
Constant for manual transaction mode
|
static int |
ManualTransactions
Use this value in transactionMode to specify explicit (manual)
transaction mode.
|
java.lang.String |
password
The GemStone account password
|
java.lang.String |
serverName
The NRS of the GemStone server (stone process)
|
java.lang.String |
serverOSPassword
The server operating system account password
|
java.lang.String |
serverOSUserName
A server operating system account name may be given to cause the session
to run in an alternate account on the server.
|
int |
timeout
Deprecated.
As of GBJ30, this parameter has no effect.
|
static int |
Transactionless
Use this value in transactionMode to specify that the server will not
perform transactions.
|
static int |
TRANSACTIONLESS
Constant for transactionless mode
|
int |
transactionMode
The transaction mode.
|
java.lang.String |
userName
The GemStone account User ID.
|
Constructor and Description |
---|
GbjParameters()
The default parameters specify an anonymous connection with read-only
access and a 15 minute timeout.
|
public static final int FORMAT642
@Deprecated public static final java.lang.String DEFAULT_BROKER_MACHINE
@Deprecated public static final int DEFAULT_BROKER_PORT
@Deprecated public static final int DEFAULT_CONNECTION_TIMEOUT
@Deprecated public static final int DEFAULT_TIMEOUT
public static final int MANUAL_TRANSACTIONS
public static final int AUTOMATIC_TRANSACTIONS
public static final int TRANSACTIONLESS
public static final int DEFAULT_TRANSACTION_MODE
public static final int DEFAULT_FORMAT
public int format
@Deprecated public int timeout
@Deprecated public int connectTimeout
public int transactionMode
public java.lang.String serverName
public java.lang.String gemnetName
public java.lang.String userName
public transient java.lang.String password
@Deprecated public java.lang.String brokerMachine
@Deprecated public int brokerPort
public java.lang.String serverOSUserName
public transient java.lang.String serverOSPassword
public static final int ManualTransactions
public static final int AutomaticTransactions
public static final int Transactionless