THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
/** * Snapshot local lifecycle listener. */ public interface SnapshotLifecycleListener extends Extension { /** * @paramCalled reqlocally Snapshotafter operationthe startsnapshot request. files have been created on * @throws IgniteCheckedException If failed. */ public void beforeCreate(SnapshotOperationRequest req) throws IgniteCheckedException; /*the node. * * @param metadata Snapshot metdata. * @throws IgniteCheckedException If failed. */ public void afterCreateonCreate(SnapshotMetadata metadata) throws IgniteCheckedException; /** * @param metadata Snapshot metdata. * @param grps Cache groups to be restored ({@code null} if all cache groups are restored from the snapshot). * @throws IgniteCheckedException If failed. */ public void beforeValidate(SnapshotMetadata metadata, @Nullable Collection<String> grps) throws IgniteCheckedException; /** * @param metadata Snapshot metdata. * @param grps Cache groups to be restored ({@code null} if all cache groups are restored from the snapshot). * @throws IgniteCheckedException If failed. IgniteCheckedException; /**/ public* voidCalled afterValidate(SnapshotMetadata metadata, @Nullable Collection<String> grps) throws IgniteCheckedException; locally before performing a snapshot consistency check. /** * @param metadata Snapshot metdata. * @param grps Cache groups to be restored ({@code null} if all cache groups are restored from the snapshot). * @throws IgniteCheckedException If failed. */ public void beforeRestoreonCheck(SnapshotMetadata metadata, @Nullable Collection<String> grps) throws IgniteCheckedException; /** * Called locally before restoring cache data files from a snapshot. * * @param metadata Snapshot metdata. * @param grps Cache groups to be restored ({@code null} if all cache groups are restored from the snapshot). * @throws IgniteCheckedException If failed. */ public void afterRestoreonRestore(SnapshotMetadata metadata, @Nullable Collection<String> grps) throws IgniteCheckedException; } |
...