CacheSchedulingMutex
class CacheSchedulingMutex implements SchedulingMutex, CacheAware (View source)
Properties
| Factory | $cache | The cache factory implementation.  | 
                |
| string|null | $store | The cache store that should be used.  | 
                
Methods
                    bool
                
                
                    create(Event $event, DateTimeInterface $time)
        
                                            
                
            Attempt to obtain a scheduling mutex for the given event.
                    bool
                
                
                    exists(Event $event, DateTimeInterface $time)
        
                                            
                
            Determine if a scheduling mutex exists for the given event.
                    bool
                
                
                
            
                    $this
                
                
                    useStore(string $store)
        
                                            
                
            Specify the cache store that should be used.
Details
        
                            
    __construct(Factory $cache)
        
    
    Create a new scheduling strategy.
        
                            bool
    create(Event $event, DateTimeInterface $time)
        
    
    Attempt to obtain a scheduling mutex for the given event.
        
                            bool
    exists(Event $event, DateTimeInterface $time)
        
    
    Determine if a scheduling mutex exists for the given event.
        
                    protected        bool
    shouldUseLocks(Store $store)
        
    
    Determine if the given store should use locks for cache event mutexes.
        
                            $this
    useStore(string $store)
        
    
    Specify the cache store that should be used.