Documentation ¶
Index ¶
- type DataSemaphore
- func (s *DataSemaphore) Acquire(weight dag.Metric, timeout time.Duration) bool
- func (s *DataSemaphore) Available() dag.Metric
- func (s *DataSemaphore) Processing() dag.Metric
- func (s *DataSemaphore) Release(weight dag.Metric)
- func (s *DataSemaphore) Terminate()
- func (s *DataSemaphore) TryAcquire(weight dag.Metric) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSemaphore ¶
type DataSemaphore struct {
// contains filtered or unexported fields
}
func (*DataSemaphore) Available ¶
func (s *DataSemaphore) Available() dag.Metric
func (*DataSemaphore) Processing ¶
func (s *DataSemaphore) Processing() dag.Metric
func (*DataSemaphore) Release ¶
func (s *DataSemaphore) Release(weight dag.Metric)
func (*DataSemaphore) Terminate ¶
func (s *DataSemaphore) Terminate()
func (*DataSemaphore) TryAcquire ¶
func (s *DataSemaphore) TryAcquire(weight dag.Metric) bool
Click to show internal directories.
Click to hide internal directories.