Repository
https://sgs-server.dev.java.net/svn/sgs-server/trunk
/trunk
by
stp
on
2009-10-06 15:20
(2 months ago)
Added a property change event to notify Profile Listeners of the local
node's identifier to use in aggregating collected data. Review comments
from jane and tim.
M sgs-server/src/main/java/com/sun/sgs/impl/profile/ProfileCollectorHandle.java
- Added a notification method for when the local id is known.
M sgs-server/src/main/java/com/sun/sgs/impl/profile/ProfileCollectorHandleImpl.java
M sgs-server/src/main/java/com/sun/sgs/impl/profile/ProfileCollectorImpl.java
M sgs-server/src/test/java/com/sun/sgs/test/util/DummyProfileCollectorHandle.java
- Updated to support new notification interface.
M sgs-server/src/main/java/com/sun/sgs/impl/kernel/Kernel.java
- Added notification to the collector handle when the node
id is available.
- Modified Shutdown Controller to take the node id instead of the
Data Service.
M sgs-server-internal-api/src/main/java/com/sun/sgs/profile/ProfileListener.java
- Documented new property change event.
M sgs-server/src/test/java/com/sun/sgs/test/impl/profile/SimpleTestListener.java
M sgs-server/src/test/java/com/sun/sgs/test/impl/profile/TestProfileCollectorImpl.java
- Added test that notification is done correctly.
| Language | Code Added | Code Removed | Comments Added | Comments Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|
| Java | 46 | 11 | 19 | 5 | 5 | 0 |
| File | Language | Code Added | Code Removed | Comments Added | Comments Removed | Blanks Added | Blanks Removed |
|---|---|---|---|---|---|---|---|
sgs-server-internal-api/src/main/java/com/sun/sgs/profile/ProfileListener.java
|
|||||||
| Java | 0 | 0 | 6 | 0 | 0 | 0 | |
sgs-server/src/main/java/com/sun/sgs/impl/kernel/Kernel.java
|
|||||||
| Java | 12 | 11 | 3 | 5 | 0 | 0 | |
sgs-server/src/main/java/com/sun/sgs/impl/profile/ProfileCollectorHandleImpl.java
|
|||||||
| Java | 3 | 0 | 1 | 0 | 1 | 0 | |
sgs-server/src/main/java/com/sun/sgs/impl/profile/ProfileCollectorHandle.java
|
|||||||
| Java | 1 | 0 | 5 | 0 | 1 | 0 | |
sgs-server/src/main/java/com/sun/sgs/impl/profile/ProfileCollectorImpl.java
|
|||||||
| Java | 16 | 0 | 4 | 0 | 3 | 0 | |
sgs-server/src/test/java/com/sun/sgs/test/impl/profile/SimpleTestListener.java
|
|||||||
| Java | 4 | 0 | 0 | 0 | 0 | 0 | |
sgs-server/src/test/java/com/sun/sgs/test/impl/profile/TestProfileCollectorImpl.java
|
|||||||
| Java | 7 | 0 | 0 | 0 | 0 | 0 | |
sgs-server/src/test/java/com/sun/sgs/test/util/DummyProfileCollectorHandle.java
|
|||||||
| Java | 3 | 0 | 0 | 0 | 0 | 0 | |