Package org.dspace.ctask.replicate
Class Odometer
- java.lang.Object
-
- org.dspace.ctask.replicate.Odometer
-
public class Odometer extends Object
Odometer holds a small set of persistent operational parameters of service usage. This can assist the consumer of the service to monitor it's cost, inter alia.The Odometer tracks basic statistics of replication activities: bytes uploaded, modified, count of objects, and external objectstore size.
See org.dspace.ctask.replicate.ReplicaManager for how the Odometer readings are kept up-to-date.
- Author:
- richardrodgers
- See Also:
ReplicaManager
-
-
Field Detail
-
COUNT
public static final String COUNT
- See Also:
- Constant Field Values
-
SIZE
public static final String SIZE
- See Also:
- Constant Field Values
-
UPLOADED
public static final String UPLOADED
- See Also:
- Constant Field Values
-
DOWNLOADED
public static final String DOWNLOADED
- See Also:
- Constant Field Values
-
MODIFIED
public static final String MODIFIED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProperty
public long getProperty(String name)
-
-