|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

@MXBean public interface IAgentId
Extension of the IToken, it provides an ability to give an agent a human-readable
name.
Serializable! Implementors must behave accordingly.
| Method Summary | |
|---|---|
cz.cuni.amis.utils.flag.Flag<String> |
getName()
Contains a human-readable name of the agent. |
String |
getToken()
Must return token that is unique even across different JVMs. |
| Methods inherited from interface cz.cuni.amis.utils.token.IToken |
|---|
getIds |
| Method Detail |
|---|
cz.cuni.amis.utils.flag.Flag<String> getName()
Note that the name is quite different string than getToken(). The
token contains unique-identifier of the agent across whole JVMs in the world, but
the name is just human-readable identifier that can be even changed over time.
Therefore, the name should not be used for any compares or interpretation.
String getToken()
getToken in interface cz.cuni.amis.utils.token.IToken
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||