public class ERJGroupsSynchronizer extends ERXRemoteSynchronizer
| Properties | |
er.extensions.ERXObjectStoreCoordinatorPool.maxCoordinators | you should set this property to at least "1" to trigger
ERXObjectStoreCoordinatorSynchronizer to turn on |
er.extensions.jgroupsSynchronizer.applicationWillTerminateNotificationName | the name of the NSNotification that is sent when
the application is terminating. Leave blank to disable this feature. |
er.extensions.jgroupsSynchronizer.autoReconnect | whether to auto reconnect when shunned (defaults to false) |
er.extensions.jgroupsSynchronizer.groupName | the JGroups group name to use (defaults to WOApplication.application.name) |
er.extensions.jgroupsSynchronizer.localBindAddress | er.extensions.jgroupsSynchronizer.localBindAddress |
er.extensions.jgroupsSynchronizer.multicastAddress | the multicast address to use (defaults to 230.0.0.1,
and only necessary if you are using multicast) |
er.extensions.jgroupsSynchronizer.multicastPort | the multicast port to use (defaults to 9753, and only necessary if you are using multicast) |
er.extensions.jgroupsSynchronizer.properties | an XML JGroups configuration file (defaults to jgroups-default.xml in this framework) |
er.extensions.jgroupsSynchronizer.useShutdownHook | whether to register a JVM shutdown hook to clean up the JChannel (defaults to true) |
er.extensions.remoteSynchronizer | "er.jgroups.ERJGroupsSynchronizer" for this implementation |
er.extensions.remoteSynchronizer.enabled | if true, remote synchronization is enabled |
er.extensions.remoteSynchronizer.excludeEntities | the list of entities to NOT synchronize (none by default) |
er.extensions.remoteSynchronizer.includeEntities | the list of entities to synchronize (all by default) |
ERXRemoteSynchronizer.RefByteArrayOutputStreamlog| Constructor and Description |
|---|
ERJGroupsSynchronizer(ERXObjectStoreCoordinatorSynchronizer.IChangeListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
_applicationWillTerminateNotification(NSNotification notification) |
protected void |
_writeCacheChanges(int transactionID,
NSArray cacheChanges) |
void |
join() |
void |
leave() |
void |
listen() |
_readCacheChange, _readGID, _writeCacheChange, addChange, filteredCacheChanges, globalIDsGroupedByEntity, handleMessageType, newRemoteSynchronizer, readGID, readGIDs, readKey, remoteSynchronizerEnabled, shouldSynchronizeEntity, writeCacheChanges, writeGID, writeGIDKeys, writeGIDs, writeKey, writeSnapshotCacheChangepublic ERJGroupsSynchronizer(ERXObjectStoreCoordinatorSynchronizer.IChangeListener listener) throws org.jgroups.ChannelException
org.jgroups.ChannelExceptionpublic void join()
throws org.jgroups.ChannelException
join in class ERXRemoteSynchronizerorg.jgroups.ChannelExceptionpublic void leave()
leave in class ERXRemoteSynchronizerpublic void listen()
listen in class ERXRemoteSynchronizerprotected void _writeCacheChanges(int transactionID,
NSArray cacheChanges)
throws org.jgroups.ChannelNotConnectedException,
org.jgroups.ChannelClosedException,
java.io.IOException
_writeCacheChanges in class ERXRemoteSynchronizerorg.jgroups.ChannelNotConnectedExceptionorg.jgroups.ChannelClosedExceptionjava.io.IOExceptionpublic void _applicationWillTerminateNotification(NSNotification notification)
Copyright © 2002 – 2022 Project Wonder.