Package com.google.code.morphia.query

Examples of com.google.code.morphia.query.Query.countAll()


      TorrentStats torrentStats = new TorrentStats();
      torrentStats.infoHash = infoHash;
      torrentStats.seeders = (int)seedersQuery.countAll();
      torrentStats.completed = 0; // TODO: Для этого поля нам понадобится вести статистику загрузок.
      torrentStats.leechers = (int)leechersQuery.countAll();

      torrentStatsList.add(torrentStats);
    }

    ScrapeResponse.send(this.getMessageEvent(), this.getTransactionId(), torrentStatsList);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.