Package google.registry.model.common
Enum Class Cursor.CursorType
- All Implemented Interfaces:
Serializable
,Comparable<Cursor.CursorType>
,Constable
- Enclosing class:
Cursor
The types of cursors, used as the string id field for each cursor in the database.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCursor for ensuring rolling transactional isolation of BRDA staging operation.Cursor for tracking monthly uploads of ICANN activity reports.Cursor for tracking monthly uploads of ICANN transaction reports.Cursor for ensuring rolling transactional isolation of RDE report operation.Cursor for ensuring rolling transactional isolation of RDE staging operation.Cursor for ensuring rolling transactional isolation of RDE upload operation.Cursor that tracks the last time we talked to the escrow provider's SFTP server for a given TLD.Cursor for ensuring rolling transactional isolation of recurring billing expansion.Cursor forSyncRegistrarsSheetAction
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isScoped()
static Cursor.CursorType
Returns the enum constant of this class with the specified name.static Cursor.CursorType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BRDA
Cursor for ensuring rolling transactional isolation of BRDA staging operation. -
RDE_REPORT
Cursor for ensuring rolling transactional isolation of RDE report operation. -
RDE_STAGING
Cursor for ensuring rolling transactional isolation of RDE staging operation. -
RDE_UPLOAD
Cursor for ensuring rolling transactional isolation of RDE upload operation. -
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
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
Cursor forSyncRegistrarsSheetAction
. 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
Cursor for tracking monthly uploads of ICANN transaction reports. -
ICANN_UPLOAD_ACTIVITY
Cursor for tracking monthly uploads of ICANN activity reports.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
isScoped
public boolean isScoped()
-