A new frontier in large-scale graph analysis and data mining
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
safs::compute_allocator Class Referenceabstract

#include <io_request.h>

Inherited by fg::vertex_compute_allocator< compute_type >, safs::KV_compute_allocator< ValueType, TaskType >, and safs::KV_compute_allocator< ValueType, ValueTaskType >.

Public Member Functions

virtual user_computealloc ()=0
virtual void free (user_compute *compute)=0

Detailed Description

This class defines the interface of allocating customized user tasks.

Member Function Documentation

virtual user_compute* safs::compute_allocator::alloc ( )
pure virtual

This method alloates a user task.

the allocated user task.
virtual void safs::compute_allocator::free ( user_compute compute)
pure virtual

This method deallocates a user task.

computethe user task to be deallocated.

The documentation for this class was generated from the following file: