Method: PEROBS::Store#statistics

Defined in:
lib/perobs/Store.rb

#statisticsObject

This method returns a Hash with some statistics about this store.



572
573
574
575
576
577
578
579
# File 'lib/perobs/Store.rb', line 572

def statistics
  @lock.synchronize do
    @stats.in_memory_objects = @in_memory_objects.length
    @stats.root_objects = @root_objects.length
  end

  @stats
end