You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
|
// Licensed under the MIT license.
|
|
|
|
|
|
|
|
|
|
// *********************************************************************
|
|
|
|
|
// Copyright (C) Microsoft. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
// @File:
|
|
|
|
|
//
|
|
|
|
|
// @Owner:
|
|
|
|
|
// @Test:
|
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
// Notes:
|
|
|
|
|
//
|
|
|
|
|
// @EndHeader@
|
|
|
|
|
// *********************************************************************
|
|
|
|
|
namespace FASTER.core
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Status result of operation on FASTER
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum Status
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// For Read and RMW, item being read was found, and
|
|
|
|
|
/// the operation completed successfully
|
|
|
|
|
/// For Upsert, item was upserted successfully
|
|
|
|
|
/// </summary>
|
|
|
|
|
OK,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// For Read and RMW, item being read was not found
|
|
|
|
|
/// </summary>
|
|
|
|
|
NOTFOUND,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Operation went pending (async)
|
|
|
|
|
/// </summary>
|
|
|
|
|
PENDING,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Operation resulted in some error
|
|
|
|
|
/// </summary>
|
|
|
|
|
ERROR
|
|
|
|
|
}
|
|
|
|
|
}
|