Bend.Repl.ReplHandler.getEstimatedRemainingLogData C# (CSharp) Method

getEstimatedRemainingLogData() public method

public getEstimatedRemainingLogData ( string server_guid, RecordKeyType log_start_key ) : int
server_guid string
log_start_key RecordKeyType
return int
        public int getEstimatedRemainingLogData(string server_guid, RecordKeyType log_start_key)
        {
            int count = 0;
            // TODO: build a more efficient way to get this by asking the MTree for the size between keys
            foreach (var log_line in this.fetchLogEntries(server_guid,log_start_key)) {
                count++;
            }
            return count;
        }