com.sun.sgs.impl.nio
Interface ReactiveChannelGroup.ReactorAssignmentStrategy

All Known Implementing Classes:
ReactiveChannelGroup.HashingReactorAssignmentStrategy
Enclosing class:
ReactiveChannelGroup

static interface ReactiveChannelGroup.ReactorAssignmentStrategy

Interface for Reactor load balancing strategies.


Method Summary
 Reactor getReactorFor(SelectableChannel channel)
          Returns the Reactor for a newly-registering channel.
 

Method Detail

getReactorFor

Reactor getReactorFor(SelectableChannel channel)
Returns the Reactor for a newly-registering channel.

Parameters:
channel - a channel to assign to a Reactor
Returns:
the Reactor to use for the channel

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved