.. _object_LocalStorage: :index:`LocalStorage` --------------------- Description *********** The LocalStorage object provides a persistent storage on the local device. A data partition on the internal flash memory is used for this purpose. The total capacity of this data partition is about 6 GB. The :ref:`DockerService ` object stores the Docker containers on this data partition as well which reduces the available space accordingly. :**› Inherits**: :ref:`Storage ` Overview ******** Properties ++++++++++ .. hlist:: :columns: 2 * :ref:`bytesReadPerSecond ` * :ref:`bytesWrittenPerSecond ` * :ref:`Storage.available ` * :ref:`Storage.bytesFree ` * :ref:`Storage.bytesTotal ` * :ref:`Storage.path ` * :ref:`Storage.readOnly ` * :ref:`Object.objectId ` * :ref:`Object.parent ` Methods +++++++ .. hlist:: :columns: 1 * :ref:`pollBytesReadPerSecond() ` * :ref:`pollBytesWrittenPerSecond() ` * :ref:`Object.deserializeProperties() ` * :ref:`Object.fromJson() ` * :ref:`Object.serializeProperties() ` * :ref:`Object.toJson() ` Signals +++++++ .. hlist:: :columns: 1 * :ref:`Object.completed() ` Properties ********** .. _property_LocalStorage_bytesReadPerSecond: .. _signal_LocalStorage_bytesReadPerSecondChanged: .. index:: single: bytesReadPerSecond bytesReadPerSecond ++++++++++++++++++ This property holds the number of bytes read per second from the underlying block device during the last polling interval. This property was introduced in InCore 2.8. :**› Type**: SignedInteger :**› Signal**: bytesReadPerSecondChanged() :**› Attributes**: Readonly, Requires :ref:`Polling ` .. _property_LocalStorage_bytesWrittenPerSecond: .. _signal_LocalStorage_bytesWrittenPerSecondChanged: .. index:: single: bytesWrittenPerSecond bytesWrittenPerSecond +++++++++++++++++++++ This property holds the number of bytes written per second to the underlying block device during the last polling interval. This property was introduced in InCore 2.8. :**› Type**: SignedInteger :**› Signal**: bytesWrittenPerSecondChanged() :**› Attributes**: Readonly, Requires :ref:`Polling ` Methods ******* .. _method_LocalStorage_pollBytesReadPerSecond: .. index:: single: pollBytesReadPerSecond pollBytesReadPerSecond() ++++++++++++++++++++++++ This method polls the :ref:`bytesReadPerSecond ` property. It is called automatically when using a :ref:`Polling ` property modifier on this property and usually does not have to be called manually. .. _method_LocalStorage_pollBytesWrittenPerSecond: .. index:: single: pollBytesWrittenPerSecond pollBytesWrittenPerSecond() +++++++++++++++++++++++++++ This method polls the :ref:`bytesWrittenPerSecond ` property. It is called automatically when using a :ref:`Polling ` property modifier on this property and usually does not have to be called manually.