org.hibernate.search.backend.impl.jgroups
Class JGroupsChannelProvider
java.lang.Object
org.hibernate.search.backend.impl.jgroups.JGroupsChannelProvider
- All Implemented Interfaces:
- ServiceProvider<org.jgroups.Channel>
public class JGroupsChannelProvider
- extends Object
- implements ServiceProvider<org.jgroups.Channel>
Service to initialize a JGroups Channel. This needs to be centralized to
allow sharing of channels across different index managers.
- Author:
- Lukasz Moren, Sanne Grinovero (C) 2012 Red Hat Inc.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JGROUPS_PREFIX
public static final String JGROUPS_PREFIX
- See Also:
- Constant Field Values
CONFIGURATION_FILE
public static final String CONFIGURATION_FILE
- See Also:
- Constant Field Values
CLUSTER_NAME
public static final String CLUSTER_NAME
- See Also:
- Constant Field Values
CHANNEL_INJECT
public static final String CHANNEL_INJECT
- See Also:
- Constant Field Values
clusterName
protected String clusterName
JGroupsChannelProvider
public JGroupsChannelProvider()
start
public void start(Properties props,
BuildContext context)
- Specified by:
start
in interface ServiceProvider<org.jgroups.Channel>
getService
public org.jgroups.Channel getService()
- Specified by:
getService
in interface ServiceProvider<org.jgroups.Channel>
stop
public void stop()
- Specified by:
stop
in interface ServiceProvider<org.jgroups.Channel>
Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved