public class GbjParameters extends Object implements 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.
|
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 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 |
FORMAT32
Constant for oop format of GS/S 32-bit products
|
static int |
FORMAT641
Constant for oop format of GS/64 version 1.X products
|
static int |
FORMAT642
Constant for oop format of GS/64 version 2.X and later products
|
String |
gemnetName
The GemStone gem service.
|
static int |
MANUAL_TRANSACTIONS
Constant for manual transaction mode
|
static int |
ManualTransactions
Use this value in transactionMode to specify explicit (manual)
transaction mode.
|
String |
password
The GemStone account password
|
String |
serverName
The NRS of the GemStone server (defaults to gemserver61).
|
String |
serverOSPassword
The server operating system account password
|
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.
|
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 FORMAT32
public static final int FORMAT641
public static final int FORMAT642
public static final String DEFAULT_BROKER_MACHINE
public static final int DEFAULT_BROKER_PORT
public static final int DEFAULT_CONNECTION_TIMEOUT
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
public int timeout
public int connectTimeout
public int transactionMode
public String serverName
public String gemnetName
public String userName
public transient String password
public String brokerMachine
public int brokerPort
public String serverOSUserName
public transient String serverOSPassword
public static final int ManualTransactions
public static final int AutomaticTransactions
public static final int Transactionless