Enum Class Cursor.CursorType

java.lang.Object
java.lang.Enum<Cursor.CursorType>
google.registry.model.common.Cursor.CursorType
All Implemented Interfaces:
Serializable, Comparable<Cursor.CursorType>, Constable
Enclosing class:
Cursor

public static enum Cursor.CursorType extends Enum<Cursor.CursorType>
The types of cursors, used as the string id field for each cursor in the database.
  • Enum Constant Details

    • BRDA

      public static final Cursor.CursorType BRDA
      Cursor for ensuring rolling transactional isolation of BRDA staging operation.
    • RDE_REPORT

      public static final Cursor.CursorType RDE_REPORT
      Cursor for ensuring rolling transactional isolation of RDE report operation.
    • RDE_STAGING

      public static final Cursor.CursorType RDE_STAGING
      Cursor for ensuring rolling transactional isolation of RDE staging operation.
    • RDE_UPLOAD

      public static final Cursor.CursorType RDE_UPLOAD
      Cursor for ensuring rolling transactional isolation of RDE upload operation.
    • RDE_UPLOAD_SFTP

      public static final Cursor.CursorType RDE_UPLOAD_SFTP
      Cursor that tracks the last time we talked to the escrow provider's SFTP server for a given TLD.

      Our escrow provider has an odd feature where separate deposits uploaded within two hours of each other will be merged into a single deposit. This is problematic in situations where the cursor might be a few days behind and is trying to catch up.

      The way we solve this problem is by having RdeUploadAction check this cursor before performing an upload for a given TLD. If the cursor is less than two hours old, the action will fail with a status code above 300 and App Engine will keep retrying the action until it's ready.

    • RECURRING_BILLING

      public static final Cursor.CursorType RECURRING_BILLING
      Cursor for ensuring rolling transactional isolation of recurring billing expansion. The value of this cursor represents the exclusive upper bound on the range of billing times for which Recurring billing events have been expanded (i.e. the inclusive first billing time for the next expansion job).
    • SYNC_REGISTRAR_SHEET

      public static final Cursor.CursorType SYNC_REGISTRAR_SHEET
      Cursor for SyncRegistrarsSheetAction. The DateTime stored is the last time that registrar changes were successfully synced to the sheet. If there were no changes since the last time the action run, the cursor is not updated.
    • ICANN_UPLOAD_TX

      public static final Cursor.CursorType ICANN_UPLOAD_TX
      Cursor for tracking monthly uploads of ICANN transaction reports.
    • ICANN_UPLOAD_ACTIVITY

      public static final Cursor.CursorType ICANN_UPLOAD_ACTIVITY
      Cursor for tracking monthly uploads of ICANN activity reports.
  • Method Details

    • values

      public static Cursor.CursorType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Cursor.CursorType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isScoped

      public boolean isScoped()