PolarDocs Client Area

QueuePunishmentEvent Class

Introduction#

The QueuePunishmentEvent class represents an event that is triggered when Polar cloud is queuing a delayed punishment. This event is only fired for Enterprise customers.

This can be fired once for each CloudCheckType before the actual punishment is executed by Polar.

Methods#

This class extends UserEvent and it's User object.

check#

java
CloudCheckType check();

Returns:

The CloudCheckType of the queued punishment.

suggestedDelay#

java
long suggestedDelay();

Returns:

The chosen suggested delay for the punishment, in milliseconds.

queuedAt#

java
long queuedAt();

Returns:

Punishment queue time in epoch milliseconds.