You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by "Chris Dolan (JIRA)" <ji...@apache.org> on 2010/12/17 18:26:01 UTC

[jira] Commented: (RIVER-376) Get VM specific information from only a service proxy

    [ https://issues.apache.org/jira/browse/RIVER-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972552#action_12972552 ] 

Chris Dolan commented on RIVER-376:
-----------------------------------

For the unchanging subset of information, like hostname, this could simply be a service attribute.

> Get VM specific information from only a service proxy
> -----------------------------------------------------
>
>                 Key: RIVER-376
>                 URL: https://issues.apache.org/jira/browse/RIVER-376
>             Project: River
>          Issue Type: New Feature
>            Reporter: Tom Hobbs
>            Assignee: Tom Hobbs
>            Priority: Minor
>
> It would be useful, if given a service proxy a caller were able to retrieve some useful subset of information about the remote VM in which that proxy came from.
> For example, if I had a proxy I might want to know the hostname of the machine it came from, or even the amount of memory available to it, memory used, number of threads etc.  Such information could be made available by using JMX, however, this leaves callers having to perform some new kind of interrogation on the proxy, rather than just calling methods on it.  This could lead to additional environment changes or headaches.
> It would be nice to be able to do something like:
> VmAdmin vmAdmin = (VmAdmin) ((Administrable)myProxy).getAdmin();
> vmAdmin.getHostname();
> The underlying implementation of VmAdmin is up for design/debate.  This was first discussion on the dev mailing list here:
> http://mail-archives.apache.org/mod_mbox/incubator-river-dev/201011.mbox/%3cAANLkTikOPQStRNMbqsxTw58=h4YUga6fA_PyUqYGvBFj@mail.gmail.com%3e

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.