public final class Unit extends Object implements Serializable
Try
or Future
that are not meant
to hold a value.
Try<Unit> deleteSynchronous(String id)
Future<Unit> deleteAsynchronous(String id)
The example illustrates deleting something but the only thing we care of is if the operation was successful.Copyright © 2015, Peter Nerg Apache License v2.0