2006-02-16 23:50:32 +01:00
|
|
|
|
2006-02-19 17:22:53 +01:00
|
|
|
# from sgpem import SchedulableQueue, PolicyParameters
|
2006-02-16 23:50:32 +01:00
|
|
|
from Abstract import *
|
|
|
|
|
|
|
|
class Policy:
|
2006-02-19 17:22:53 +01:00
|
|
|
## @var Avoid instantiation of an abstract class
|
2006-02-16 23:50:32 +01:00
|
|
|
__metaclass__ = Metaclass
|
|
|
|
|
|
|
|
configure = AbstractMethod('configure')
|
|
|
|
sort_queue = AbstractMethod('sort_queue')
|
|
|
|
is_preemptive = AbstractMethod('is_preemptive')
|
|
|
|
is_time_sliced = AbstractMethod('is_time_sliced')
|
|
|
|
get_parameters = AbstractMethod('get_parameters')
|