Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
tom
2014-09-30 01:50:29 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
43e836a39f5fab5de824b33e075fa44f34b50bf9
43e836a3
1 parent
c9b33d1e
Further simplified the store & connection manager relationship.
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
6 deletions
core/store/dist/src/main/java/org/onlab/onos/store/cluster/impl/ClusterCommunicationManager.java
core/store/dist/src/main/java/org/onlab/onos/store/cluster/impl/ClusterIOWorker.java
core/store/dist/src/main/java/org/onlab/onos/store/cluster/messaging/ClusterMessageStream.java → core/store/dist/src/main/java/org/onlab/onos/store/cluster/impl/ClusterMessageStream.java
core/store/dist/src/main/java/org/onlab/onos/store/cluster/messaging/impl/MessageSerializer.java → core/store/dist/src/main/java/org/onlab/onos/store/cluster/impl/MessageSerializer.java
core/store/dist/src/main/java/org/onlab/onos/store/cluster/impl/package-info.java
core/store/dist/src/main/java/org/onlab/onos/store/cluster/messaging/package-info.java
core/store/dist/src/main/java/org/onlab/onos/store/cluster/impl/ClusterCommunicationManager.java
View file @
43e836a
...
...
@@ -13,7 +13,6 @@ import org.onlab.onos.cluster.DefaultControllerNode;
import
org.onlab.onos.cluster.NodeId
;
import
org.onlab.onos.store.cluster.messaging.ClusterCommunicationService
;
import
org.onlab.onos.store.cluster.messaging.ClusterMessage
;
import
org.onlab.onos.store.cluster.messaging.ClusterMessageStream
;
import
org.onlab.onos.store.cluster.messaging.HelloMessage
;
import
org.onlab.onos.store.cluster.messaging.MessageSubject
;
import
org.onlab.onos.store.cluster.messaging.MessageSubscriber
;
...
...
@@ -50,8 +49,8 @@ public class ClusterCommunicationManager
private
final
Logger
log
=
LoggerFactory
.
getLogger
(
getClass
());
private
static
final
long
CONNECTION_CUSTODIAN_DELAY
=
100
0
L
;
private
static
final
long
CONNECTION_CUSTODIAN_FREQUENCY
=
5
000
;
private
static
final
long
CONNECTION_CUSTODIAN_DELAY
=
100L
;
private
static
final
long
CONNECTION_CUSTODIAN_FREQUENCY
=
2
000
;
private
static
final
long
START_TIMEOUT
=
1000
;
private
static
final
int
WORKERS
=
3
;
...
...
core/store/dist/src/main/java/org/onlab/onos/store/cluster/impl/ClusterIOWorker.java
View file @
43e836a
...
...
@@ -5,7 +5,6 @@ import org.onlab.nio.MessageStream;
import
org.onlab.onos.cluster.DefaultControllerNode
;
import
org.onlab.onos.cluster.NodeId
;
import
org.onlab.onos.store.cluster.messaging.ClusterMessage
;
import
org.onlab.onos.store.cluster.messaging.ClusterMessageStream
;
import
org.onlab.onos.store.cluster.messaging.HelloMessage
;
import
org.onlab.onos.store.cluster.messaging.SerializationService
;
import
org.slf4j.Logger
;
...
...
core/store/dist/src/main/java/org/onlab/onos/store/cluster/
messaging
/ClusterMessageStream.java
→
core/store/dist/src/main/java/org/onlab/onos/store/cluster/
impl
/ClusterMessageStream.java
View file @
43e836a
package
org
.
onlab
.
onos
.
store
.
cluster
.
messaging
;
package
org
.
onlab
.
onos
.
store
.
cluster
.
impl
;
import
org.onlab.nio.IOLoop
;
import
org.onlab.nio.MessageStream
;
import
org.onlab.onos.cluster.DefaultControllerNode
;
import
org.onlab.onos.store.cluster.messaging.ClusterMessage
;
import
org.onlab.onos.store.cluster.messaging.SerializationService
;
import
java.nio.ByteBuffer
;
import
java.nio.channels.ByteChannel
;
...
...
core/store/dist/src/main/java/org/onlab/onos/store/cluster/
messaging/
impl/MessageSerializer.java
→
core/store/dist/src/main/java/org/onlab/onos/store/cluster/impl/MessageSerializer.java
View file @
43e836a
package
org
.
onlab
.
onos
.
store
.
cluster
.
messaging
.
impl
;
package
org
.
onlab
.
onos
.
store
.
cluster
.
impl
;
import
org.apache.felix.scr.annotations.Component
;
import
org.apache.felix.scr.annotations.Service
;
...
...
core/store/dist/src/main/java/org/onlab/onos/store/cluster/impl/package-info.java
0 → 100644
View file @
43e836a
/**
* Distributed cluster store and messaging subsystem implementation.
*/
package
org
.
onlab
.
onos
.
store
.
cluster
.
impl
;
\ No newline at end of file
core/store/dist/src/main/java/org/onlab/onos/store/cluster/messaging/package-info.java
0 → 100644
View file @
43e836a
/**
* Cluster messaging APIs for the use by the various distributed stores.
*/
package
org
.
onlab
.
onos
.
store
.
cluster
.
messaging
;
\ No newline at end of file
Please
register
or
login
to post a comment