Class Cluster
https://www.javadoc.io/doc/org.apache.kafka/kafka-clients/3.9.0/org/apache/kafka/common/Cluster.html
public class Cluster : JVMBridgeBase<Cluster>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Cluster>Cluster
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Cluster>.IsAssignableFrom(IJavaType)JVMBridgeBase<Cluster>.IsAssignableFrom<T>()JVMBridgeBase<Cluster>.Execute<T>(params T[])JVMBridgeBase<Cluster>.DynBridgeClazzJVMBridgeBase<Cluster>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
Constructors
Cluster()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Cluster()
Cluster(String, Collection<Node>, Collection<PartitionInfo>, Set<String>, Set<String>)
public Cluster(String arg0, Collection<Node> arg1, Collection<PartitionInfo> arg2, Set<String> arg3, Set<String> arg4)
Parameters
arg0
Stringarg1
Collection<Node>arg2
Collection<PartitionInfo>arg3
Set<String>arg4
Set<String>
Cluster(String, Collection<Node>, Collection<PartitionInfo>, Set<String>, Set<String>, Set<String>, Node)
public Cluster(String arg0, Collection<Node> arg1, Collection<PartitionInfo> arg2, Set<String> arg3, Set<String> arg4, Set<String> arg5, Node arg6)
Parameters
arg0
Stringarg1
Collection<Node>arg2
Collection<PartitionInfo>arg3
Set<String>arg4
Set<String>arg5
Set<String>arg6
Node
Cluster(String, Collection<Node>, Collection<PartitionInfo>, Set<String>, Set<String>, Set<String>, Node, Map<String, Uuid>)
public Cluster(String arg0, Collection<Node> arg1, Collection<PartitionInfo> arg2, Set<String> arg3, Set<String> arg4, Set<String> arg5, Node arg6, Map<String, Uuid> arg7)
Parameters
arg0
Stringarg1
Collection<Node>arg2
Collection<PartitionInfo>arg3
Set<String>arg4
Set<String>arg5
Set<String>arg6
Nodearg7
Map<String, Uuid>
Cluster(String, Collection<Node>, Collection<PartitionInfo>, Set<String>, Set<String>, Node)
public Cluster(String arg0, Collection<Node> arg1, Collection<PartitionInfo> arg2, Set<String> arg3, Set<String> arg4, Node arg5)
Parameters
arg0
Stringarg1
Collection<Node>arg2
Collection<PartitionInfo>arg3
Set<String>arg4
Set<String>arg5
Node
Cluster(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public Cluster(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
AvailablePartitionsForTopic(String)
public List<PartitionInfo> AvailablePartitionsForTopic(String arg0)
Parameters
Returns
Bootstrap(List<InetSocketAddress>)
public static Cluster Bootstrap(List<InetSocketAddress> arg0)
Parameters
arg0
List<InetSocketAddress>
Returns
ClusterResource()
public ClusterResource ClusterResource()
Returns
Controller()
public Node Controller()
Returns
Empty()
public static Cluster Empty()
Returns
InternalTopics()
public Set<String> InternalTopics()
Returns
InvalidTopics()
public Set<String> InvalidTopics()
Returns
IsBootstrapConfigured()
public bool IsBootstrapConfigured()
Returns
LeaderFor(TopicPartition)
public Node LeaderFor(TopicPartition arg0)
Parameters
Returns
NodeById(int)
public Node NodeById(int arg0)
Parameters
Returns
NodeIfOnline(TopicPartition, int)
public Optional<Node> NodeIfOnline(TopicPartition arg0, int arg1)
Parameters
arg0
TopicPartitionarg1
int
Returns
Nodes()
public List<Node> Nodes()
Returns
Partition(TopicPartition)
public PartitionInfo Partition(TopicPartition arg0)
Parameters
Returns
PartitionCountForTopic(String)
public Integer PartitionCountForTopic(String arg0)
Parameters
Returns
PartitionsForNode(int)
public List<PartitionInfo> PartitionsForNode(int arg0)
Parameters
Returns
PartitionsForTopic(String)
public List<PartitionInfo> PartitionsForTopic(String arg0)
Parameters
Returns
TopicId(String)
public Uuid TopicId(String arg0)
Parameters
Returns
TopicIds()
public Collection<Uuid> TopicIds()
Returns
TopicName(Uuid)
public String TopicName(Uuid arg0)
Parameters
Returns
Topics()
public Set<String> Topics()
Returns
UnauthorizedTopics()
public Set<String> UnauthorizedTopics()
Returns
WithPartitions(Map<TopicPartition, PartitionInfo>)
public Cluster WithPartitions(Map<TopicPartition, PartitionInfo> arg0)
Parameters
arg0
Map<TopicPartition, PartitionInfo>