public class ERXObjectStoreCoordinatorSynchronizer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ERXObjectStoreCoordinatorSynchronizer.Change |
static interface |
ERXObjectStoreCoordinatorSynchronizer.IChangeListener |
static class |
ERXObjectStoreCoordinatorSynchronizer.LocalChange
Holds a change notification (one transaction).
|
static class |
ERXObjectStoreCoordinatorSynchronizer.RemoteChange |
static class |
ERXObjectStoreCoordinatorSynchronizer.SynchronizerSettings |
Modifier and Type | Field and Description |
---|---|
protected Thread |
_queueThread |
static Logger |
log |
static String |
SYNCHRONIZER_KEY |
Modifier and Type | Method and Description |
---|---|
static void |
_enqueueCacheChange(com.webobjects.eoaccess.EODatabase database,
ERXDatabase.CacheChange cacheChange) |
void |
addObjectStore(com.webobjects.eocontrol.EOObjectStoreCoordinator osc) |
static NSArray |
dequeueCacheChanges(com.webobjects.eoaccess.EODatabase database) |
static void |
initialize() |
void |
initializeRemoteSynchronizer() |
protected static boolean |
isProcessingRemoteNotifications() |
void |
objectStoreWasAdded(com.webobjects.foundation.NSNotification n) |
void |
objectStoreWasRemoved(com.webobjects.foundation.NSNotification n) |
void |
publishChange(com.webobjects.foundation.NSNotification n) |
void |
removeObjectStore(com.webobjects.eocontrol.EOObjectStoreCoordinator osc) |
void |
setDefaultSettings(ERXObjectStoreCoordinatorSynchronizer.SynchronizerSettings defaultSettings) |
protected static void |
setProcessingRemoteNotifications(boolean processingRemoteNotifications) |
void |
setSettingsForCoordinator(ERXObjectStoreCoordinatorSynchronizer.SynchronizerSettings settings,
com.webobjects.eocontrol.EOObjectStoreCoordinator coordinator) |
ERXObjectStoreCoordinatorSynchronizer.SynchronizerSettings |
settingsForCoordinator(com.webobjects.eocontrol.EOObjectStoreCoordinator coordinator) |
void |
snapshotCacheChanged(com.webobjects.foundation.NSNotification n) |
void |
startRemoteSynchronizer(com.webobjects.foundation.NSNotification n) |
void |
stopRemoteSynchronizer(com.webobjects.foundation.NSNotification n) |
static ERXObjectStoreCoordinatorSynchronizer |
synchronizer() |
public static final Logger log
public static final String SYNCHRONIZER_KEY
protected Thread _queueThread
public static void initialize()
public static ERXObjectStoreCoordinatorSynchronizer synchronizer()
public void setDefaultSettings(ERXObjectStoreCoordinatorSynchronizer.SynchronizerSettings defaultSettings)
public void setSettingsForCoordinator(ERXObjectStoreCoordinatorSynchronizer.SynchronizerSettings settings, com.webobjects.eocontrol.EOObjectStoreCoordinator coordinator)
public ERXObjectStoreCoordinatorSynchronizer.SynchronizerSettings settingsForCoordinator(com.webobjects.eocontrol.EOObjectStoreCoordinator coordinator)
public void initializeRemoteSynchronizer()
public void startRemoteSynchronizer(com.webobjects.foundation.NSNotification n)
public void stopRemoteSynchronizer(com.webobjects.foundation.NSNotification n)
public void objectStoreWasRemoved(com.webobjects.foundation.NSNotification n)
public void objectStoreWasAdded(com.webobjects.foundation.NSNotification n)
public void addObjectStore(com.webobjects.eocontrol.EOObjectStoreCoordinator osc)
public void removeObjectStore(com.webobjects.eocontrol.EOObjectStoreCoordinator osc)
protected static void setProcessingRemoteNotifications(boolean processingRemoteNotifications)
protected static boolean isProcessingRemoteNotifications()
public void publishChange(com.webobjects.foundation.NSNotification n)
public void snapshotCacheChanged(com.webobjects.foundation.NSNotification n)
public static void _enqueueCacheChange(com.webobjects.eoaccess.EODatabase database, ERXDatabase.CacheChange cacheChange)
public static NSArray dequeueCacheChanges(com.webobjects.eoaccess.EODatabase database)
Copyright © 2002 – 2020 Project Wonder.