Table of Contents

Class CopyOnWriteMap<K, V>

Namespace
Org.Apache.Kafka.Common.Utils
Assembly
MASES.KNet.dll
public class CopyOnWriteMap<K, V> : ConcurrentMap<K, V>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IConcurrentMap<K, V>, IMap<K, V>

Type Parameters

K
V
Inheritance
JVMBridgeBase
JVMBridgeBase<Map<K, V>>
Map<K, V>
CopyOnWriteMap<K, V>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
IMap<K, V>
Inherited Members
JVMBridgeBase<Map<K, V>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Map<K, V>>.IsAssignableFrom<T>()
JVMBridgeBase<Map<K, V>>.Execute<T>(params T[])
JVMBridgeBase<Map<K, V>>.DynBridgeClazz
JVMBridgeBase<Map<K, V>>.BridgeClazz
JVMBridgeBase.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.Execute<T>(params T[])
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener

Constructors

CopyOnWriteMap()

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

public CopyOnWriteMap()

CopyOnWriteMap(Map<K, V>)

public CopyOnWriteMap(Map<K, V> arg0)

Parameters

arg0 Map<K, V>

Map

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

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Clear()

public void Clear()

ContainsKey(object)

public bool ContainsKey(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

ContainsValue(object)

public bool ContainsValue(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

EntrySet()

public Set<Map.Entry<K, V>> EntrySet()

Returns

Set<Map.Entry<K, V>>

Set

Get(object)

public V Get(object arg0)

Parameters

arg0 object

object

Returns

V

V

IsEmpty()

public bool IsEmpty()

Returns

bool

bool

KeySet()

public Set<K> KeySet()

Returns

Set<K>

Set

Put(K, V)

public V Put(K arg0, V arg1)

Parameters

arg0 K

K

arg1 V

V

Returns

V

V

PutAll<Arg0ExtendsK, Arg0ExtendsV>(Map<Arg0ExtendsK, Arg0ExtendsV>)

public void PutAll<Arg0ExtendsK, Arg0ExtendsV>(Map<Arg0ExtendsK, Arg0ExtendsV> arg0) where Arg0ExtendsK : K where Arg0ExtendsV : V

Parameters

arg0 Map<Arg0ExtendsK, Arg0ExtendsV>

Map

Type Parameters

Arg0ExtendsK

K

Arg0ExtendsV

V

PutIfAbsent(K, V)

public V PutIfAbsent(K arg0, V arg1)

Parameters

arg0 K

K

arg1 V

V

Returns

V

V

Remove(object)

public V Remove(object arg0)

Parameters

arg0 object

object

Returns

V

V

Remove(object, object)

public bool Remove(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Returns

bool

bool

Replace(K, V)

public V Replace(K arg0, V arg1)

Parameters

arg0 K

K

arg1 V

V

Returns

V

V

Replace(K, V, V)

public bool Replace(K arg0, V arg1, V arg2)

Parameters

arg0 K

K

arg1 V

V

arg2 V

V

Returns

bool

bool

Size()

public int Size()

Returns

int

int

Values()

public Collection<V> Values()

Returns

Collection<V>

Collection

Operators

implicit operator CopyOnWriteMap(CopyOnWriteMap<K, V>)

public static implicit operator CopyOnWriteMap(CopyOnWriteMap<K, V> t)

Parameters

t CopyOnWriteMap<K, V>

Returns

CopyOnWriteMap