Remove unused methods from IgniteCacheSnapshotManager - Fixes
package org.apache.ignite.internal.processors.cache.persistence.snapshot;
-import java.nio.ByteBuffer;
import java.util.UUID;
import org.apache.ignite.IgniteCheckedException;
@@ -48,13 +47,13 @@ public class IgniteCacheSnapshotManager<T extends SnapshotOperation> extends Gri
/**
* Try to start local snapshot operation if it's required by discovery event.
*
- * @param discoveryEvent Discovery event.
+ * @param discoveryEvt Discovery event.
* @param topVer topology version on the moment when this method was called
*
* @throws IgniteCheckedException if failed
*/
@Nullable public IgniteInternalFuture tryStartLocalSnapshotOperation(
- @Nullable DiscoveryEvent discoveryEvent, AffinityTopologyVersion topVer
+ @Nullable DiscoveryEvent discoveryEvt, AffinityTopologyVersion topVer
) throws IgniteCheckedException {
return null;
}
@@ -119,20 +118,6 @@ public class IgniteCacheSnapshotManager<T extends SnapshotOperation> extends Gri
// No-op.
}
- /**
- * @param fullId Full page id.
- * @param tmpWriteBuf buffer
- * @param writtenPages Overall pages written, negative value means there is no progress tracked
- * @param totalPages Overall pages count to be written, should be positive
- */
- public void onPageWrite(
- final FullPageId fullId,
- final ByteBuffer tmpWriteBuf,
- final int writtenPages,
- final int totalPages) {
- // No-op.
- }
-
/**
* @param cctx Cctx.
* @param destroy Destroy flag.
@@ -160,17 +145,6 @@ public class IgniteCacheSnapshotManager<T extends SnapshotOperation> extends Gri
// No-op.
}
- /**
- *
- */
- public void flushDirtyPageHandler(
- FullPageId fullId,
- ByteBuffer pageBuf,
- Integer tag
- ) throws IgniteCheckedException {
- // No-op.
- }
-
/** {@inheritDoc} */
@Override public void onActivate(GridKernalContext kctx) throws IgniteCheckedException {
// No-op.
