org.scijava.usage
Interface UsageService

All Superinterfaces:
Comparable<Prioritized>, Contextual, Disposable, HasPluginInfo, Prioritized, RichPlugin, SciJavaPlugin, SciJavaService, Service
All Known Implementing Classes:
DefaultUsageService

public interface UsageService
extends SciJavaService

Interface for service that tracks anonymous usage statistics.

Author:
Curtis Rueden

Method Summary
 void clearStats()
          Clears the table of usage statistics.
 Map<String,UsageStats> getStats()
          Gets the table of usage statistics.
 UsageStats getUsage(Object o)
          Gets the given object's usage statistics.
 void increment(Object o)
          Increments the given object's usage count.
 
Methods inherited from interface org.scijava.service.Service
initialize, registerEventHandlers
 
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
 
Methods inherited from interface org.scijava.Prioritized
getPriority, setPriority
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
 
Methods inherited from interface org.scijava.Disposable
dispose
 

Method Detail

getStats

Map<String,UsageStats> getStats()
Gets the table of usage statistics.


clearStats

void clearStats()
Clears the table of usage statistics.


getUsage

UsageStats getUsage(Object o)
Gets the given object's usage statistics.


increment

void increment(Object o)
Increments the given object's usage count.



Copyright © 2009–2014 SciJava. All rights reserved.