de.zib.scalaris.examples
Class TransactionSingleOpWriteExample
java.lang.Object
de.zib.scalaris.examples.TransactionSingleOpWriteExample
public class TransactionSingleOpWriteExample
- extends Object
Provides an example for using the write methods of the
TransactionSingleOp class.
- Since:
- 2.0
- Version:
- 2.0
- Author:
- Nico Kruber, kruber@zib.de
|
Method Summary |
static void |
main(String[] args)
Writes a key/value pair given on the command line with the write
methods of TransactionSingleOp.
If no value or key is given, the default key "key" and the
default value "value" is used. |
TransactionSingleOpWriteExample
public TransactionSingleOpWriteExample()
main
public static void main(String[] args)
- Writes a key/value pair given on the command line with the write
methods of
TransactionSingleOp.
If no value or key is given, the default key "key" and the
default value "value" is used.
- Parameters:
args - command line arguments (first argument can be an optional key
and the second an optional value)