Skip to content
Snippets Groups Projects
Commit 407ffb8c authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

added `TimeSeries.descriptor_based_access`

parent 2f57c1e5
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@ You will need to have both snakehouse and satella installed.
* more error conditions during mmap will be supported as well
* ENOMEM will be correctly handled during resize operation
* added `TimeSeries.descriptor_based_access`
## v0.4.3
......
......@@ -28,7 +28,7 @@ if 'CI' in os.environ:
setup(name='tempsdb',
version='0.4.4a3',
version='0.4.4a4',
packages=['tempsdb'],
install_requires=['satella>=2.14.23', 'ujson'],
ext_modules=build([Multibuild('tempsdb', find_pyx('tempsdb')), ],
......
......@@ -14,7 +14,7 @@ cdef class TimeSeries:
readonly unsigned int block_size
readonly unsigned long long last_entry_ts
unsigned int page_size
bint descriptor_based_access
readonly bint descriptor_based_access
list chunks
dict refs_chunks # type: tp.Dict[int, int]
dict open_chunks # type: tp.Dict[int, Chunk]
......
......@@ -18,7 +18,7 @@ cdef class TimeSeries:
:ivar last_entry_synced: timestamp of the last synchronized entry (int)
:ivar block_size: size of the writable block of data (int)
:ivar path: path to the directory containing the series (str)
:ivar descriptor_based_access: are all chunks using descriptor-based access? (bool)
:ivar name: name of the series (str)
"""
cpdef tuple get_current_value(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment