My favorites
▼
|
Sign in
tungsten-replicator
A high performance, open source, data replication engine for MySQL
Project Home
Downloads
Wiki
Issues
Source
Checkout
Browse
Changes
Source path:
svn
/
trunk
/
replicator
/
src
/
java
/
com
/
continuent
/
tungsten
/
replicator
/
filter
/
Filter.java
r899
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/**
* Tungsten Scale-Out Stack
* Copyright (C) 2007-2009 Continuent Inc.
* Contact: tungsten@continuent.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
* Initial developer(s): Teemu Ollakka
* Contributor(s): Robert Hodges
*/
package com.continuent.tungsten.replicator.filter;
import com.continuent.tungsten.replicator.ReplicatorException;
import com.continuent.tungsten.replicator.event.ReplDBMSEvent;
import com.continuent.tungsten.replicator.plugin.ReplicatorPlugin;
/**
*
* This class defines a Filter
*
* @author <a href="mailto:teemu.ollakka@continuent.com">Teemu Ollakka</a>
* @version 1.0
*/
public interface Filter extends ReplicatorPlugin
{
/**
* Filter the event. Filters may transform the event or return null if the
* event should be discarded. Filters must be prepared to be interrupted,
* which mechanism is used to cancel processing.
* <p>
*
* @param event An event to be filtered
* @return Filtered ReplDBMSEvent or null
* @throws ReplicatorException Thrown if there is a processing error
* @throws InterruptedException Must be thrown if the filter is interrupted
* or the replicator may hang
*/
public ReplDBMSEvent filter(ReplDBMSEvent event)
throws ReplicatorException, InterruptedException;
}
Show details
Hide details
Change log
r1
by gilles.rayrat on Mar 17, 2011
Diff
Initial import
Go to:
/branches
/tags
/trunk
/trunk/commons
/trunk/commons/.classpath
/trunk/commons/.project
/trunk/commons/.settings
...tings/org.eclipse.jdt.core.prefs
...ettings/org.eclipse.jdt.ui.prefs
/trunk/commons/LICENSE
/trunk/commons/README
/trunk/commons/build.properties
/trunk/commons/build.xml
/trunk/commons/conf
...nk/commons/conf/log4j.properties
...mmons/conf/sample.jmx.properties
/trunk/commons/doc
/trunk/commons/eclipse-settings
...mons/eclipse-settings/README.txt
...e-settings/codeformatter.3.1.xml
...e-settings/codetemplates.3.1.xml
/trunk/commons/lib
/trunk/commons/lib-test
...ns/lib-test/drizzle-jdbc-0.6.jar
...mmons/lib-test/junit-4.4-src.zip
...k/commons/lib-test/junit-4.4.jar
...ql-connector-java-5.1.13-bin.jar
/trunk/commons/lib.tools
...ons/lib.tools/antlrall-2.7.6.jar
.../lib/apache-log4j-1.2.15_src.zip
...ns/lib/commons-logging-1.1.1.jar
/trunk/commons/lib/hedera-2.0.1.jar
.../commons/lib/jbosscache-core.jar
.../commons/lib/jbosscache-pojo.jar
/trunk/commons/lib/jgroups-all.jar
/trunk/commons/lib/jline-0.9.94.jar
/trunk/commons/lib/log4j-1.2.15.jar
.../protobuf-java-2.2.0-sources.jar
...mons/lib/protobuf-java-2.2.0.jar
...mons/lib/protobuf-java-2.3.0.jar
.../commons/lib/xpp3_min-1.1.4c.jar
...nk/commons/lib/xstream-1.3.1.jar
/trunk/commons/service.log
/trunk/commons/src
/trunk/commons/src/java
/trunk/commons/src/java/com
.../commons/src/java/com/continuent
...src/java/com/continuent/tungsten
.../com/continuent/tungsten/commons
...tinuent/tungsten/commons/cluster
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 1931 bytes, 52 lines
View raw file
Powered by
Google Project Hosting