Table of Contents

Class ResourceType

Namespace
Org.Apache.Kafka.Common.Resource
Assembly
MASES.KNet.dll
public class ResourceType : Enum<ResourceType>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
ResourceType
Implements
Inherited Members

Constructors

ResourceType()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public ResourceType()

ResourceType(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 ResourceType(params object[] args)

Parameters

args object[]

Properties

ANY

public static ResourceType ANY { get; }

Property Value

ResourceType

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CLUSTER

public static ResourceType CLUSTER { get; }

Property Value

ResourceType

DELEGATION_TOKEN

public static ResourceType DELEGATION_TOKEN { get; }

Property Value

ResourceType

GROUP

public static ResourceType GROUP { get; }

Property Value

ResourceType

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

TOPIC

public static ResourceType TOPIC { get; }

Property Value

ResourceType

TRANSACTIONAL_ID

public static ResourceType TRANSACTIONAL_ID { get; }

Property Value

ResourceType

UNKNOWN

public static ResourceType UNKNOWN { get; }

Property Value

ResourceType

USER

public static ResourceType USER { get; }

Property Value

ResourceType

Methods

Code()

public byte Code()

Returns

byte

byte

FromCode(byte)

public static ResourceType FromCode(byte arg0)

Parameters

arg0 byte

byte

Returns

ResourceType

ResourceType

FromString(String)

public static ResourceType FromString(String arg0)

Parameters

arg0 String

String

Returns

ResourceType

ResourceType

Exceptions

IllegalArgumentException

IsUnknown()

public bool IsUnknown()

Returns

bool

bool

ValueOf(String)

public static ResourceType ValueOf(String arg0)

Parameters

arg0 String

String

Returns

ResourceType

ResourceType

Values()

public static ResourceType[] Values()

Returns

ResourceType[]

ResourceType