Skip to content

Commit

Permalink
[CLIENT-1592] deprecated policies
Browse files Browse the repository at this point in the history
  • Loading branch information
vmsachin committed Jun 23, 2023
1 parent 82eeb82 commit f1d39e1
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions lib/aerospike/policy/priority.rb
@@ -0,0 +1,38 @@
# encoding: utf-8
# Copyright 2014-2023 Aerospike, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


#[:nodoc:]
# DEPRECATED
# TODO: Remove this module on the next major release
module Aerospike

module Priority

# The server defines the priority.
DEFAULT = 0

# Run the database operation in a background thread.
LOW = 1

# Run the database operation at medium priority.
MEDIUM = 2

# Run the database operation at the highest priority.
HIGH = 3

end # module

end # module

0 comments on commit f1d39e1

Please sign in to comment.