|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sandev.basics.CacheManager.CacheManagerNodeDecl
The CacheManager offloads the processing associated with multiple update
subscriptions. In a typical deployment, a CacheManager will subscribe to
all update messages from a DataManager, and all other caching nodes will
subscribe to the CacheManager. This keeps the overhead of checking which
update notifications actually need to be broadcast from interfering with
transaction throughput.
If update notification lag time starts to become significant, it can
be alleviated through adding more CacheManagers and distributing the load.
Having a CacheManager local to each server may increase efficiency since
optimized messaging can be used for all local subscribers.
CacheManagerNode configuration is deployment specific. For setup consultation, contact Structs And Nodes Development Services.
inbound synchronous message calls:
CacheAction onReceive(CacheAction msg)outbound asynchronous message sends:
void send(CacheAction msg)inbound asynchronous message calls:
void onDelivery(SandUpdateMessage msg)void onDelivery(CacheAction msg)| Field Summary | |
protected java.lang.String |
localAuthUserLookup
The name of a local node supporting AuthUserLookup. |
protected java.lang.String |
notificationPassword
The password of the AuthUser which will be used for authorization of outgoing CacheAction sends. |
protected java.lang.String |
notificationUsername
The username of the AuthUser which will be used for authorization of outgoing CacheAction sends. |
| Constructor Summary | |
CacheManagerNodeDecl()
|
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String localAuthUserLookup
protected java.lang.String notificationUsername
protected java.lang.String notificationPassword
| Constructor Detail |
public CacheManagerNodeDecl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||