Package com.slack.api.model.event
Class TeamMigrationStartedEvent
java.lang.Object
com.slack.api.model.event.TeamMigrationStartedEvent
- All Implemented Interfaces:
Event,java.io.Serializable
public class TeamMigrationStartedEvent extends java.lang.Object implements Event
The team_migration_started event is sent when a Slack workspace is about to be migrated between servers.
The websocket connection will close immediately after it is sent.
Occasionally we need to move Slack workspaces to a new server. To avoid any data synchronization bugs or race conditions we disconnect all clients from a workspace before starting this process. By the time a client has reconnected the process is usually complete, so the impact is minimal.
When clients receive this event, immediately start a reconnection process by calling rtm.start again. You may receive occasional migration_in_progress errors when re-calling rtm.start. If this happens you should wait a few seconds and try again. If the error continues you should wait longer before retrying, and so on.
https://api.slack.com/events/team_migration_started
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE_NAME -
Constructor Summary
Constructors Constructor Description TeamMigrationStartedEvent() -
Method Summary
-
Field Details
-
TYPE_NAME
public static final java.lang.String TYPE_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
TeamMigrationStartedEvent
public TeamMigrationStartedEvent()
-
-
Method Details
-
getType
public java.lang.String getType() -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-