de.zib.scalaris.examples
Class TransactionSingleOpWriteExample

java.lang.Object
  extended by 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

Constructor Summary
TransactionSingleOpWriteExample()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionSingleOpWriteExample

public TransactionSingleOpWriteExample()
Method Detail

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)