<?php
// Own namespace
-namespace Org\Mxchange\CoreFramework\Stack\Index;
+namespace Org\Mxchange\CoreFramework\Index\Stack;
// Import framework stuff
use Org\Mxchange\CoreFramework\Filesystem\Block\CalculatableBlock;
*/
interface IndexableStack extends Indexable, CalculatableBlock {
/**
- * Adds given hash to an index file
+ * Adds given data's hash to the index file
*
* @param $stackName Name of stack to add hash
* @param $data Hash and gap position to be added to the index
* @return void
+ * @throws InvalidArgumentException If a parameter is not valid
*/
- function addHashToIndex (string $stackName, array $data);
+ function addHashedDataToIndex (string $stackName, array $data);
+
+ /**
+ * Checks whether the index' file has been fully loaded (and parsed)
+ *
+ * @return $isLoaded Whether the index' file has been loaded
+ */
+ function isIndexFileLoaded ();
}