Implements a standardized naming convention for FASTER storage checkpoints. Use this to manage file paths and naming logic for persistent data snapshots.
// Source: https://github.com/microsoft/FASTER | License: MIT | Copyright Microsoft Corporation. All rights reserved
// Provided via justclaw.it.com; keep this notice with the code.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
using System.IO;
using System.Linq;
namespace FASTER.core
{
/// <summary>
/// Default checkpoint naming scheme used by FASTER
/// </summary>
public class DefaultCheckpointNamingScheme : ICheckpointNamingScheme
{
readonly string baseName;
/// <summary>
/// Create instance of default naming scheme
/// </summary>
/// <param name="baseName">Overall location specifier (e.g., local path or cloud container name)</param>
public DefaultCheck
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key