Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored NodeChannel into separate channel and node channel control…
… objects. Created basic unit tests for node control save, and NodeConcurrencyFilter headers.
- Loading branch information
Showing
19 changed files
with
584 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
symmetric/src/main/java/org/jumpmind/symmetric/model/NodeChannelControl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
/* | ||
* SymmetricDS is an open source database synchronization solution. | ||
* | ||
* Copyright (C) Chris Henson <chenson42@users.sourceforge.net> | ||
* | ||
* This library is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
* License as published by the Free Software Foundation; either | ||
* version 3 of the License, or (at your option) any later version. | ||
* | ||
* This library 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 | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this library; if not, see | ||
* <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.jumpmind.symmetric.model; | ||
|
||
import java.util.Date; | ||
|
||
public class NodeChannelControl { | ||
|
||
private static final long serialVersionUID = -2493052366767513160L; | ||
|
||
private String nodeId = null; | ||
|
||
public String getNodeId() { | ||
return nodeId; | ||
} | ||
|
||
public void setNodeId(String nodeId) { | ||
this.nodeId = nodeId; | ||
} | ||
|
||
public boolean isIgnored() { | ||
return ignored; | ||
} | ||
|
||
public void setIgnored(boolean ignored) { | ||
this.ignored = ignored; | ||
} | ||
|
||
public boolean isSuspended() { | ||
return suspended; | ||
} | ||
|
||
public void setSuspended(boolean suspended) { | ||
this.suspended = suspended; | ||
} | ||
|
||
public Date getLastExtractedTime() { | ||
return lastExtractedTime; | ||
} | ||
|
||
public void setLastExtractedTime(Date lastExtractedTime) { | ||
this.lastExtractedTime = lastExtractedTime; | ||
} | ||
|
||
private boolean ignored = false; | ||
|
||
private boolean suspended = false; | ||
|
||
private Date lastExtractedTime = null; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.