|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Service
This Service interface represents a controllable service that operates in a clustered network environment.
Method Summary | |
---|---|
void |
addMemberListener(MemberListener listener) Add a Member listener. |
Cluster |
getCluster() Return the Cluster object that this Service is a part of. |
ServiceInfo |
getInfo() Return the ServiceInfo object for this Service. |
Serializer |
getSerializer() Return a Serializer used by this Service. |
Object |
getUserContext() Return the user context object associated with this Service. |
void |
removeMemberListener(MemberListener listener) Remove a Member listener. |
void |
setUserContext(Object oCtx) Associate a user context object with this Service. |
Methods inherited from interface com.tangosol.util.Service |
---|
addServiceListener, removeServiceListener |
Methods inherited from interface com.tangosol.util.Controllable |
---|
configure, isRunning, shutdown, start, stop |
Methods inherited from interface com.tangosol.io.ClassLoaderAware |
---|
getContextClassLoader, setContextClassLoader |
Method Detail |
---|
Cluster getCluster()
ServiceInfo getInfo()
void addMemberListener(MemberListener listener)
listener
- the MemberListener
to addvoid removeMemberListener(MemberListener listener)
listener
- the MemberListener
to removeObject getUserContext()
void setUserContext(Object oCtx)
oCtx
- a user context objectSerializer getSerializer()
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |