de.is24.util.monitoring
Interface Historizable

All Known Implementing Classes:
SimpleHistorizable

public interface Historizable

Represents a single Value of a historizable entity. Historizables are used to report the state of entities or values who are not directly comparable between each other.

For example the total runtime of an EmailSender run will differ between a mailing with 4 emails and a mailing with 100000 emails. Thus using a Timer will not give reasonable results. A Historizable value may contain a String like:

 sending of 4 mails took 303 ms 

Author:
OSchmitz

Method Summary
 String getName()
          name of this historizable
 Date getTimestamp()
          timestamp associated with this Historizable
 String getValue()
          This string represents whatever your applications wants to tell the rest of the world.
 

Method Detail

getValue

String getValue()
This string represents whatever your applications wants to tell the rest of the world.

Returns:
the historized value, which can actually be any String

getName

String getName()
name of this historizable

Returns:
name of this historizable

getTimestamp

Date getTimestamp()
timestamp associated with this Historizable

Returns:
a Date instance


Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.