|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SystemSnapshotService
The SystemSnapshotService provides a service interface for generating and accessing
system snapshots. A snapshot is unique by the time it's generated. See
SystemSnapshot for details on what is included
in the snapshot file.
Snapshot files are stored in the Blackboard logs directory, under the monitor
subdirectory.
SystemSnapshot| Method Summary | |
|---|---|
SystemSnapshot |
createSnapshot()
Create a new snapshot. |
SystemSnapshot |
createSnapshot(MonitorEvent<?> event)
Create a new snapshot based on a particular monitor event. |
SystemSnapshot |
getSnapshot(java.util.Calendar time)
Lookup a specific snapshot based on the time it was generated. |
java.util.List<SystemSnapshot> |
getSnapshots()
Get a list of all of the current snapshots stored on the systen, sorted by time, newest first. |
| Method Detail |
|---|
SystemSnapshot createSnapshot()
throws java.io.IOException
java.io.IOException - Thrown if there is a problem writing the snapshot file.
SystemSnapshot createSnapshot(MonitorEvent<?> event)
throws java.io.IOException
java.io.IOException - Thrown if there is a problem writing the snapshot file.java.util.List<SystemSnapshot> getSnapshots()
SystemSnapshot getSnapshot(java.util.Calendar time)
throws java.io.FileNotFoundException
time - The time the snapshot was generated.
java.io.FileNotFoundException - If the snapshot can't be found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||