public class TransactionWriteExample extends Object
write method of the
Transaction class.| Constructor and Description |
|---|
TransactionWriteExample() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Writes all key/value pairs given on the command line (given as "key1
value1 key2 value2 ...") with the
Transaction.write(String, Object) and
Transaction.write(OtpErlangString, OtpErlangObject) methods
in a single transaction.If no key/value pair is given, the default pairs (key1, value1),
(key2, value2) and (key3, value3) are used. |
public static void main(String[] args)
Transaction.write(String, Object) and
Transaction.write(OtpErlangString, OtpErlangObject) methods
in a single transaction.(key1, value1),
(key2, value2) and (key3, value3) are used.args - command line arguments (optional key/value pairs to store)