Class ConsistentReadInput
java.lang.Object
com.kingsrook.qqq.backend.core.model.actions.AbstractActionInput
com.kingsrook.qqq.backend.core.model.actions.consistentread.ConsistentReadInput
Input for QBackendModuleInterface.openConsistentReadTransaction - asks a
backend for a read-only transaction through which every table read reflects
one instant (see ConsistencyScope).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for backendNameGetter for importSnapshotId - if present, attach to the snapshot exported by another consistent-read transaction (getExportedSnapshotId) instead of taking a new one.booleanGetter for readOnlygetScope()Getter for scopebooleanGetter for useReadReplicavoidsetBackendName(String backendName) Setter for backendNamevoidsetImportSnapshotId(String importSnapshotId) Setter for importSnapshotIdvoidsetReadOnly(boolean readOnly) Setter for readOnlyvoidsetScope(ConsistencyScope scope) Setter for scopevoidsetUseReadReplica(boolean useReadReplica) Setter for useReadReplicawithBackendName(String backendName) Fluent setter for backendNamewithImportSnapshotId(String importSnapshotId) Fluent setter for importSnapshotIdwithReadOnly(boolean readOnly) Fluent setter for readOnlywithScope(ConsistencyScope scope) Fluent setter for scopewithUseReadReplica(boolean useReadReplica) Fluent setter for useReadReplicaMethods inherited from class com.kingsrook.qqq.backend.core.model.actions.AbstractActionInput
getActionIdentity, getAsyncJobCallback, getPermissionBypassReason, getPermissionEnforcement, setAsyncJobCallback, setPermissionEnforcement, withPermissionBypass, withPermissionEnforcement
-
Constructor Details
-
ConsistentReadInput
public ConsistentReadInput()Constructor -
ConsistentReadInput
Constructor
-
-
Method Details
-
getBackendName
Getter for backendName -
setBackendName
Setter for backendName -
withBackendName
Fluent setter for backendName -
getScope
Getter for scope -
setScope
Setter for scope -
withScope
Fluent setter for scope -
getReadOnly
public boolean getReadOnly()Getter for readOnly -
setReadOnly
public void setReadOnly(boolean readOnly) Setter for readOnly -
withReadOnly
Fluent setter for readOnly -
getUseReadReplica
public boolean getUseReadReplica()Getter for useReadReplica -
setUseReadReplica
public void setUseReadReplica(boolean useReadReplica) Setter for useReadReplica -
withUseReadReplica
Fluent setter for useReadReplica -
getImportSnapshotId
-
setImportSnapshotId
Setter for importSnapshotId -
withImportSnapshotId
Fluent setter for importSnapshotId
-