net.tomp2p.futures
Interface FutureCreator<K extends BaseFuture>
- Type Parameters:
K
-
public interface FutureCreator<K extends BaseFuture>
For direct replication, the DHT needs to be created repeatedly. In order for
the user to be able to customize the creation, this interface exists. The
user can create the future for example with data reading from a file or
database instead of keeping everything in memory.
- Author:
- Thomas Bocek
create
K create()
- Returns:
- A newly created future
Copyright © 2012. All Rights Reserved.