Table of Contents

Class NewObjectPolicy

Namespace
Scaleout.Modules.Abstractions
Assembly
Scaleout.Modules.Abstractions.dll

Policy returned from an ApiProcessor's CreateObject method to specify the expiration behavior for a newly created object.

public class NewObjectPolicy
Inheritance
NewObjectPolicy
Inherited Members

Properties

Expiration

The expiration time for the object in the ScaleOut service, or TimeSpan.Zero if no expiration is set and the object should not expire.

public TimeSpan Expiration { get; init; }

Property Value

TimeSpan

ExpirationType

The type of expiration for the object in the ScaleOut service (sliding or absolute).

public ExpirationType ExpirationType { get; init; }

Property Value

ExpirationType