Kodo 4.2.0. (DEPRECATED)

com.solarmetric.manage
Interface Watchable

All Known Implementing Classes:
TimeWatch

public interface Watchable

The Watchable interface specifies an interface for watching statistics. A Watchable can provide a set of statistics. Each statistic can be looked at, and a listener can be registered to listen for changes to the statistic.


Method Summary
 boolean addListener(WatchableListener listener)
          Add a listener.
 void clearListeners()
          Clear all listeners.
 Collection getStatistics()
          Get a collection of available statistics.
 boolean removeListener(WatchableListener listener)
          Remove a listener.
 

Method Detail

getStatistics

Collection getStatistics()
Get a collection of available statistics. Items are of type Statistic.


addListener

boolean addListener(WatchableListener listener)
Add a listener.


removeListener

boolean removeListener(WatchableListener listener)
Remove a listener.


clearListeners

void clearListeners()
Clear all listeners.


Kodo 4.2.0. (DEPRECATED)

Copyright 2011 Oracle, Inc. All Rights Reserved.

This documentation is deprecated and will be removed in the next release of WebLogic Server.


Oracle Fusion Middleware Oracle Kodo 4.2.0 API Reference (DEPRECATED)
11g Release 1 (10.3.6)
Part Number E13950-02