Class Metadata
public class Metadata : Closeable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICloseable, IAutoCloseable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<AutoCloseable>Metadata
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<AutoCloseable>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<AutoCloseable>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])JVMBridgeBase<AutoCloseable>.DynBridgeClazzJVMBridgeBase<AutoCloseable>.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
Metadata()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Metadata()
Metadata(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 Metadata(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
AddClusterUpdateListener(ClusterResourceListener)
public void AddClusterUpdateListener(ClusterResourceListener arg0)
Parameters
Bootstrap(List<InetSocketAddress>)
public void Bootstrap(List<InetSocketAddress> arg0)
Parameters
arg0
List<InetSocketAddress>
Close()
public void Close()
CurrentLeader(TopicPartition)
public Metadata.LeaderAndEpoch CurrentLeader(TopicPartition arg0)
Parameters
Returns
FailedUpdate(long)
public void FailedUpdate(long arg0)
Parameters
FatalError(JVMBridgeException)
public void FatalError(JVMBridgeException arg0)
Parameters
arg0
JVMBridgeException
Fetch()
public Cluster Fetch()
Returns
FetchMetadataSnapshot()
public MetadataSnapshot FetchMetadataSnapshot()
Returns
IsClosed()
public bool IsClosed()
Returns
LastSeenLeaderEpoch(TopicPartition)
public Optional<Integer> LastSeenLeaderEpoch(TopicPartition arg0)
Parameters
Returns
LastSuccessfulUpdate()
public long LastSuccessfulUpdate()
Returns
MaybeThrowAnyException()
public void MaybeThrowAnyException()
MaybeThrowExceptionForTopic(String)
public void MaybeThrowExceptionForTopic(String arg0)
Parameters
MetadataExpireMs()
public long MetadataExpireMs()
Returns
NewMetadataRequestAndVersion(long)
public Metadata.MetadataRequestAndVersion NewMetadataRequestAndVersion(long arg0)
Parameters
Returns
Rebootstrap()
public void Rebootstrap()
RequestUpdate(bool)
public int RequestUpdate(bool arg0)
Parameters
Returns
RequestUpdateForNewTopics()
public int RequestUpdateForNewTopics()
Returns
TimeToAllowUpdate(long)
public long TimeToAllowUpdate(long arg0)
Parameters
Returns
TimeToNextUpdate(long)
public long TimeToNextUpdate(long arg0)
Parameters
Returns
TopicIds()
public Map<String, Uuid> TopicIds()
Returns
TopicNames()
public Map<Uuid, String> TopicNames()
Returns
UpdateLastSeenEpochIfNewer(TopicPartition, int)
public bool UpdateLastSeenEpochIfNewer(TopicPartition arg0, int arg1)
Parameters
arg0
TopicPartitionarg1
int
Returns
UpdatePartitionLeadership(Map<TopicPartition, LeaderIdAndEpoch>, List<Node>)
public Set<TopicPartition> UpdatePartitionLeadership(Map<TopicPartition, Metadata.LeaderIdAndEpoch> arg0, List<Node> arg1)
Parameters
arg0
Map<TopicPartition, Metadata.LeaderIdAndEpoch>arg1
List<Node>
Returns
UpdateRequested()
public bool UpdateRequested()
Returns
UpdateVersion()
public int UpdateVersion()