-
Notifications
You must be signed in to change notification settings - Fork 11
/
memcache_keys.py
65 lines (49 loc) · 1.89 KB
/
memcache_keys.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# memcache_keys.py
# Copyright (C) 2011 Simon Newton
# The keys used for memcache.
# Number of products inc. devices
PRODUCT_COUNT_KEY = 'product_count'
# Number of manufacturer pids
MANUFACTURER_CACHE_KEY = 'manufacturers'
# Number of manufacturer pids
MANUFACTURER_PID_COUNT_KEY = 'manufacturer_pid_count'
# PID manufacturer counts
MANUFACTURER_PID_COUNTS = 'manufacturer_pids'
# Manufacturer model counts
MANUFACTURER_MODEL_COUNTS = 'manufacturer_models'
# Manufacturer controller counts
MANUFACTURER_CONTROLLER_COUNTS = 'manufacturer_controllers'
# Manufacturer node counts
MANUFACTURER_NODE_COUNTS = 'manufacturer_nodes'
# Manufacturer software counts
MANUFACTURER_SOFTWARE_COUNTS = 'manufacturer_software'
# Manufacturer splitter counts
MANUFACTURER_SPLITTER_COUNTS = 'manufacturer_splitters'
# Category model counts
CATEGORY_MODEL_COUNTS = 'category_models'
# Tag model counts
TAG_MODEL_COUNTS = 'tag_models'
# Tag controller counts
TAG_CONTROLLER_COUNTS = 'tag_controllers'
# Tag node counts
TAG_NODE_COUNTS = 'tag_nodes'
# Tag software counts
TAG_SOFTWARE_COUNTS = 'tag_software'
# Tag splitter counts
TAG_SPLITTER_COUNTS = 'tag_splitters'
# Index info data
INDEX_INFO = 'index_info'