Class IntAllocator
Inheritance
System.Object
IntAllocator
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: RabbitMQ.Util
Assembly: RabbitMQ.Client.WinRT.dll
Syntax
public class IntAllocator
Constructors
| Improve this Doc View SourceIntAllocator(Int32, Int32)
Declaration
public IntAllocator(int start, int end)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | start | |
System.Int32 | end |
Methods
| Improve this Doc View SourceAllocate()
Declaration
public int Allocate()
Returns
Type | Description |
---|---|
System.Int32 |
Free(Int32)
Declaration
public void Free(int id)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id |
Reserve(Int32)
Declaration
public bool Reserve(int id)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id |
Returns
Type | Description |
---|---|
System.Boolean |