Package net.tomp2p.storage

Examples of net.tomp2p.storage.StorageGeneric


      /*
       * init the storage
       */
      Files.createDirectories(path);
      String file = path.toString();
      StorageGeneric storage = new StorageDisk(file);
      peer.getPeerBean().setStorage(storage);
      logger.info(String.format("Using TomP2P with file-storage on %s",
          file));
    }
  }
View Full Code Here

TOP

Related Classes of net.tomp2p.storage.StorageGeneric

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.