|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.admin.server.ConfigRegistry
com.threerings.admin.server.DatabaseConfigRegistry
com.threerings.admin.server.PeeredDatabaseConfigRegistry
public class PeeredDatabaseConfigRegistry
A database backed config registry that registers with the peer system and synchronizes with its peers when configuration fields are changed.
| Nested Class Summary | |
|---|---|
protected class |
PeeredDatabaseConfigRegistry.PeerDatabaseObjectRecord
Stores settings in a database and broadcasts changes to peers. |
| Nested classes/interfaces inherited from class com.threerings.admin.server.DatabaseConfigRegistry |
|---|
DatabaseConfigRegistry.DatabaseObjectRecord |
| Nested classes/interfaces inherited from class com.threerings.admin.server.ConfigRegistry |
|---|
ConfigRegistry.ObjectRecord |
| Field Summary | |
|---|---|
protected PeerManager |
_peermgr
|
protected static String |
PEER_CACHE_PREFIX
Prefixed to our cache invalidation notifications. |
| Fields inherited from class com.threerings.admin.server.DatabaseConfigRegistry |
|---|
_invoker, _node, _repo |
| Fields inherited from class com.threerings.admin.server.ConfigRegistry |
|---|
_configs, _transitioning |
| Constructor Summary | |
|---|---|
PeeredDatabaseConfigRegistry(PersistenceContext ctx,
Invoker invoker,
PeerManager peermgr)
|
|
| Method Summary | |
|---|---|
protected ConfigRegistry.ObjectRecord |
createObjectRecord(String path,
DObject object)
Creates an object record derivation that will handle the management of the specified object. |
| Methods inherited from class com.threerings.admin.server.ConfigRegistry |
|---|
createObjectInputStream, createObjectOutputStream, getKeys, getObject, registerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PeerManager _peermgr
protected static final String PEER_CACHE_PREFIX
| Constructor Detail |
|---|
@Inject
public PeeredDatabaseConfigRegistry(PersistenceContext ctx,
Invoker invoker,
PeerManager peermgr)
| Method Detail |
|---|
protected ConfigRegistry.ObjectRecord createObjectRecord(String path,
DObject object)
ConfigRegistry
createObjectRecord in class DatabaseConfigRegistry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||