Interface JGroupsChannelLookup
Deprecated, for removal: This API element is subject to removal in a future version.
since 11.0, this will be removed in the next major version with no direct replacement.
A hook to pass in a JGroups channel. Implementations need to provide a public no-arg constructor as instances are
created via reflection.
- Since:
- 4.0
- Author:
- Manik Surtani
-
Method Summary
Modifier and TypeMethodDescriptionorg.jgroups.JChannel
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a JGroups channel.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
getJGroupsChannel
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a JGroups channel. Passes in all of the properties used to configure the channel.- Parameters:
p
- properties- Returns:
- a JGroups channel
-
shouldConnect
boolean shouldConnect()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- true if the JGroupsTransport should connect the channel before using it; false if the transport should assume that the channel is connected.
-
shouldDisconnect
boolean shouldDisconnect()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- true if the JGroupsTransport should disconnect the channel once it is done with it; false if the channel is to be left connected.
-
shouldClose
boolean shouldClose()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- true if the JGroupsTransport should close the channel once it is done with it; false if the channel is to be left open.
-