'Build statistics object for the server.'

@classmethod
def GetStatistics(cls):

    ok = rdf_data_server.DataServerState.Status.AVAILABLE
    (num_components, avg_component) = cls.SERVICE.GetComponentInformation()
    stat = rdf_data_server.DataServerState(size=cls.SERVICE.Size(), load=0, status=ok, num_components=num_components, avg_component=avg_component)
    return stat
