Package eoxserver :: Package backends :: Module models :: Class CacheFile
[hide private]
[frames] | no frames]

Class CacheFile

source code


:class:`CacheFile` stores the whereabouts of a file held in the cache. Fields: * ``location``: a link to a :class:`LocalPath` denoting the path to the cached file * ``size``: the size of the file in bytes, null if it is not known * ``access_timestamp``: the time of the last access
Nested Classes [hide private]
  DoesNotExist
  MultipleObjectsReturned
Instance Methods [hide private]
 
get_next_by_access_timestamp(*moreargs, **morekwargs)
 
get_previous_by_access_timestamp(*moreargs, **morekwargs)
 
objects(...)

Inherited from django.db.models.base.Model: __eq__, __hash__, __init__, __ne__, __reduce__, __repr__, __str__, clean, clean_fields, date_error_message, delete, full_clean, prepare_database_save, save, save_base, serializable_value, unique_error_message, validate_unique

Inherited from django.db.models.base.Model (private): _get_FIELD_display, _get_next_or_previous_by_FIELD, _get_next_or_previous_in_order, _get_pk_val, _get_unique_checks, _perform_date_checks, _perform_unique_checks, _set_pk_val

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  location = models.ForeignKey(LocalPath, related_name= "cache_f...
  size = models.IntegerField(null= True)
  access_timestamp = models.DateTimeField()
  _base_manager = <django.db.models.manager.Manager object at 0x...
  _default_manager = <django.db.models.manager.Manager object at...
  _meta = <Options for CacheFile>
  remote_data_packages = <django.db.models.fields.related.Foreig...

Inherited from django.db.models.base.Model (private): _deferred

Properties [hide private]

Inherited from django.db.models.base.Model: pk

Inherited from object: __class__

Class Variable Details [hide private]

location

Value:
models.ForeignKey(LocalPath, related_name= "cache_files")

_base_manager

Value:
<django.db.models.manager.Manager object at 0x3d85450>

_default_manager

Value:
<django.db.models.manager.Manager object at 0x3d85450>

remote_data_packages

Value:
<django.db.models.fields.related.ForeignRelatedObjectsDescriptor objec\
t at 0x3d9e5d0>