Search Results for

Show / Hide Table of Contents

# Class CacheRebalancingEvent

In-memory database (cache) rebalancing event. Rebalance event happens every time there is a change

##### Inheritance

System.Object
EventBase
CacheRebalancingEvent

##### Implements

IEvent
IEquatable<EventBase>

##### Inherited Members

EventBase.Id
EventBase.LocalOrder
EventBase.Node
EventBase.Message
EventBase.Type
EventBase.Name
EventBase.Timestamp
EventBase.Equals(EventBase)
EventBase.Equals(Object)
EventBase.GetHashCode()
EventBase.ToString()
EventBase.ReadNode(IBinaryRawReader)

###### Namespace: Apache.Ignite.Core.Events

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public sealed class CacheRebalancingEvent : EventBase, IEvent, IEquatable<EventBase>

### Properties

#### CacheName

Gets cache name.

##### Declaration

    public string CacheName { get; }

##### Property Value

Type | Description
--- | ---
System.String |

#### DiscoveryEventName

Gets name of discovery event that triggered this rebalancing event.

##### Declaration

    public string DiscoveryEventName { get; }

##### Property Value

Type | Description
--- | ---
System.String |

#### DiscoveryEventType

Gets type of discovery event that triggered this rebalancing event.

##### Declaration

    public int DiscoveryEventType { get; }

##### Property Value

Type | Description
--- | ---
System.Int32 |

#### DiscoveryNode

Gets shadow of the node that triggered this rebalancing event.

##### Declaration

    public IClusterNode DiscoveryNode { get; }

##### Property Value

Type | Description
--- | ---
IClusterNode |

#### DiscoveryTimestamp

Gets timestamp of discovery event that caused this rebalancing event.

##### Declaration

    public long DiscoveryTimestamp { get; }

##### Property Value

Type | Description
--- | ---
System.Int64 |

#### Partition

Gets partition for the event.

##### Declaration

    public int Partition { get; }

##### Property Value

Type | Description
--- | ---
System.Int32 |

### Methods

#### ToShortString()

Gets shortened version of ToString result.

##### Declaration

    public override string ToShortString()

##### Returns

Type | Description
--- | ---
System.String |

##### Overrides

EventBase.ToShortString()

### Implements

IEvent
IEquatable<>