Exemplo n.º 1
0
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.
//
?>


<?php 
grokit\interface_class('Worker', 'EventProcessor', 'evProc');
?>

	<?php 
grokit\interface_constructor(['parent' => 'EventProcessor&', 'putHereWhenDone' => 'WorkerList&']);
?>

	<?php 
grokit\interface_default_constructor();
?>

<?php 
grokit\interface_class_end();
?>

Exemplo n.º 2
0
//  You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.
//
require_once 'HierarchiesFunctions.php';
?>


<?php 
grokit\interface_class('ChunkReaderWriter', 'EventProcessor', 'evProc');
?>

	<?php 
grokit\interface_constructor(['scannerName' => 'const char*', 'numChunks' => 'int', 'execEngine' => 'EventProcessor&']);
?>

  <?php 
grokit\interface_function('GetNumChunks', 'off_t', []);
?>

<?php 
grokit\interface_function('GetClusterRanges', 'std::vector< std::pair<int64_t, int64_t> >', []);
?>

	<?php 
Exemplo n.º 3
0
//  You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.
//
require_once 'HierarchiesFunctions.php';
?>


<?php 
grokit\interface_class('Translator', 'EventProcessor', 'evProc');
?>

	<?php 
grokit\interface_constructor(['coordinator' => 'EventProcessor&', 'batchMode' => 'bool']);
?>

	<?php 
grokit\interface_default_constructor();
?>

<?php 
grokit\interface_class_end();
?>

Exemplo n.º 4
0
//  You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.
//
require_once 'HierarchiesFunctions.php';
?>


<?php 
grokit\interface_class('CodeLoader', 'EventProcessor', 'evProc');
?>

	<?php 
grokit\interface_constructor(['srcDir' => 'const char *', 'coordinator' => 'EventProcessor&']);
?>

	<?php 
grokit\interface_default_constructor();
?>

<?php 
grokit\interface_class_end();
?>

Exemplo n.º 5
0
//  You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.
//
require_once 'HierarchiesFunctions.php';
?>


<?php 
grokit\interface_class('Coordinator', 'EventProcessor', 'evProc');
?>

	<?php 
grokit\interface_constructor(['quitWhenDone' => 'bool', 'batchMode' => 'bool', 'compileOnly' => 'bool']);
?>

	<?php 
grokit\interface_default_constructor();
?>

<?php 
grokit\interface_class_end();
?>

Exemplo n.º 6
0
//  Copyright 2013 Tera Insights LLC
//
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.
//
require_once 'HierarchiesFunctions.php';
grokit\interface_class('HDThread', 'EventProcessor', 'evProc');
grokit\interface_constructor(['fileName' => 'const char*', 'arrayHash' => 'uint64_t', 'dispatcher' => 'EventProcessor&', 'freqUpdate' => 'int', 'isReadOnly' => 'bool']);
grokit\interface_default_constructor();
grokit\interface_function('DiskNo', 'int', []);
// custom function
?>
    
    static void CreateStripe(char* fileName, uint64_t arrayHash, int32_t stripeId, uint64_t offset){
	HDThreadImp::CreateStripe(fileName, arrayHash, stripeId, offset);
    }

<?php 
grokit\interface_class_end();
?>