|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReferentUuid
Defines an interface that allows a proxy for a resource to express the
identity of that resource. Resources include items like services,
leases, service registrations, and lease renewal sets. Any resource that
is represented by proxies that implement this interface has a unique
identity. That identity is expressed by assigning the resource a
universally unique identifier. This universally unique identifier will
be represented using the Uuid
class. This Uuid
must be:
ReferentUuid
, and
getReferentUuid
method of
any proxy of the resource, if that proxy implements
ReferentUuid
.
Given two objects, o1
and o2
, that implement
ReferentUuid
:
o1.equals(o2)
is true
,
then o1.getReferentUuid
and
o2.getReferentUuid
should return equivalent
Uuid
s.
o1.getReferentUuid
and
o2.getReferentUuid
return equivalent
Uuid
s, o1.equals(o2)
may, but is
not required to be true
.
Uuid
Method Summary | |
---|---|
Uuid |
getReferentUuid()
Return the Uuid that has been assigned to the
resource this proxy represents. |
Method Detail |
---|
Uuid getReferentUuid()
Uuid
that has been assigned to the
resource this proxy represents.
Uuid
associated with the
resource this proxy represents. Will not
return null
.
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |