Created
October 29, 2013 18:37
-
-
Save okram/7220224 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface Transaction { | |
public void commit(); | |
public void rollback(); | |
public Transaction open(); | |
public boolean isOpen(); | |
public <G extends Graph> G thread(); | |
public default Transaction configure(Function<Transaction, Transaction> function) { | |
return function.apply(this); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment