public class TransactionWriteExample
extends java.lang.Object
write method of the
Transaction class.| Constructor | Description |
|---|---|
TransactionWriteExample() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
main(java.lang.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(java.lang.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)