Class SubscriberGroupBuilder<V>
- java.lang.Object
-
- com.tangosol.coherence.config.builder.SubscriberGroupBuilder<V>
-
public class SubscriberGroupBuilder<V> extends Object
TheSubscriberGroupBuilder
builds aSubscriber
group.- Since:
- Coherence 14.1.1
- Author:
- jf 2016.03.02
-
-
Constructor Summary
Constructors Constructor Description SubscriberGroupBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSubscriberGroupName(ParameterResolver resolver)
Get the subscriber group name.void
realize(NamedTopic<V> topic, ParameterResolver resolver)
Realize a durable subscriber group.void
setSubscriberGroupName(String sName)
Set the subscriber group name.String
toString()
-
-
-
Method Detail
-
realize
public void realize(NamedTopic<V> topic, ParameterResolver resolver)
Realize a durable subscriber group.- Parameters:
topic
- topic to create subscriber forresolver
- resolve values containing parameter macros within this builder
-
setSubscriberGroupName
@Injectable("name") public void setSubscriberGroupName(String sName)
Set the subscriber group name.- Parameters:
sName
- durable subscriber name, possibly containing parameter macro {topic-name}
-
getSubscriberGroupName
public String getSubscriberGroupName(ParameterResolver resolver)
Get the subscriber group name.- Parameters:
resolver
- used to resolve {topic-name} parameter macro if present.- Returns:
- parameter macro expanded durable subscriber name
-
-