|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.event.AbstractRemoteCommitProvider
org.apache.openjpa.event.SingleJVMRemoteCommitProvider
public class SingleJVMRemoteCommitProvider
Single-JVM-only implementation of RemoteCommitProvider
that listens for object modifications and propagates those changes
to other SingleJVMRemoteCommitProviders in the same JVM. This is
only useful for linking together multiple factories in the same
JVM that are all loaded in the same classloader, which is a rare
circumstance.
Field Summary |
---|
Fields inherited from class org.apache.openjpa.event.AbstractRemoteCommitProvider |
---|
eventManager, log |
Constructor Summary | |
---|---|
SingleJVMRemoteCommitProvider()
|
Method Summary | |
---|---|
void |
broadcast(RemoteCommitEvent event)
Notifies other remote event managers in this JVM and on other machines of changes to the cache. |
void |
close()
Free the resources used by this provider. |
Methods inherited from class org.apache.openjpa.event.AbstractRemoteCommitProvider |
---|
endConfiguration, fireEvent, setConfiguration, setRemoteCommitEventManager, startConfiguration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingleJVMRemoteCommitProvider()
Method Detail |
---|
public void broadcast(RemoteCommitEvent event)
RemoteCommitProvider
public void close()
RemoteCommitProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |