All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.datalake.store.ExpiryOption Maven / Gradle / Ivy

There is a newer version: 2.3.10
Show newest version
/*
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 * See License.txt in the project root for license information.
 */

package com.microsoft.azure.datalake.store;


/**
 * Enum specifying how to interpret the expiry time specified in setExpiry call.
 */
public enum ExpiryOption {
    /**
     * No expiry. ExpireTime is ignored.
     */
    NeverExpire,
    /**
     * Interpret as miliseconds from now. ExpireTime is an integer in milliseconds representing the expiration date
     * relative to when file expiration is updated
     */
    RelativeToNow,
    /**
     * Interpet as milliseconds from the file's creation date+time. ExpireTime is an integer in milliseconds
     * representing the expiration date relative to file creation
     */
    RelativeToCreationDate,
    /**
     * Interpret as date/time. ExpireTime is an integer in milliseconds, as a Unix timestamp relative
     * to 1/1/1970 00:00:00
     */
    Absolute
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy