public class CommitLogFilter extends Object implements DataChannelFilter
DataChannelFilter that captures commit changes, delegating their
processing to an underlying collection of listeners.| Constructor and Description |
|---|
CommitLogFilter(CommitLogEntityFactory entityFactory,
List<CommitLogListener> listeners) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(DataChannel channel) |
QueryResponse |
onQuery(ObjectContext originatingContext,
Query query,
DataChannelFilterChain filterChain) |
GraphDiff |
onSync(ObjectContext originatingContext,
GraphDiff beforeDiff,
int syncType,
DataChannelFilterChain filterChain) |
public CommitLogFilter(CommitLogEntityFactory entityFactory, List<CommitLogListener> listeners)
public void init(DataChannel channel)
init in interface DataChannelFilterpublic QueryResponse onQuery(ObjectContext originatingContext, Query query, DataChannelFilterChain filterChain)
onQuery in interface DataChannelFilterpublic GraphDiff onSync(ObjectContext originatingContext, GraphDiff beforeDiff, int syncType, DataChannelFilterChain filterChain)
onSync in interface DataChannelFilterCopyright © 2001–2017 Apache Cayenne. All rights reserved.