예제 #1
0
    def __init__(self, maxsize=0, name='Unknown'):
        self.name = name
        self.max_in_memory = maxsize

        QueueSpeedMeasurement.__init__(self)

        # We want to send zero to the maxsize of the Queue implementation
        # here because we can write an infinite number of items
        Queue.Queue.__init__(self, maxsize=0)
예제 #2
0
    def __init__(self, maxsize=0, name='Unknown'):
        self.name = name
        self.max_in_memory = maxsize

        QueueSpeedMeasurement.__init__(self)

        # We want to send zero to the maxsize of the Queue implementation
        # here because we can write an infinite number of items
        Queue.Queue.__init__(self, maxsize=0)
예제 #3
0
    def __init__(self, maxsize=0, name='Unknown'):
        self.name = name
        self.max_in_memory = maxsize
        self.processed_tasks = 0

        QueueSpeedMeasurement.__init__(self)

        self.queue_order = None
        self.hash_to_uuid = None
        self.memory = None
        self.disk = None

        # We want to send zero to the maxsize of the Queue implementation
        # here because we can write an infinite number of items. But keep
        # in mind that we don't really use the queue storage in any way
        Queue.Queue.__init__(self, maxsize=0)
예제 #4
0
    def __init__(self, maxsize=0, name='Unknown'):
        self.name = name
        self.max_in_memory = maxsize
        self.processed_tasks = 0

        QueueSpeedMeasurement.__init__(self)

        self.queue_order = None
        self.hash_to_uuid = None
        self.memory = None
        self.disk = None

        # We want to send zero to the maxsize of the Queue implementation
        # here because we can write an infinite number of items. But keep
        # in mind that we don't really use the queue storage in any way
        Queue.Queue.__init__(self, maxsize=0)