Module SyncHash::Inheritor
In: lib/more/facets/synchash.rb

This module is used when a delegate is NOT being used.

Methods

[]   []=   clear   delete   keys   size   values  

Public Instance methods

[Source]

# File lib/more/facets/synchash.rb, line 87
    def [](key)
      @sync.synchronize(::Sync::SH) { super }
    end

[Source]

# File lib/more/facets/synchash.rb, line 91
    def []=(key, value)
      @sync.synchronize(::Sync::EX) { super }
    end

[Source]

# File lib/more/facets/synchash.rb, line 99
    def clear
      @sync.synchronize(::Sync::EX) { super }
    end

[Source]

# File lib/more/facets/synchash.rb, line 95
    def delete(key)
      @sync.synchronize(::Sync::EX) { super }
    end

[Source]

# File lib/more/facets/synchash.rb, line 111
    def keys
      @sync.synchronize(::Sync::SH) { super }
    end

[Source]

# File lib/more/facets/synchash.rb, line 103
    def size
      @sync.synchronize(::Sync::SH) { super }
    end

[Source]

# File lib/more/facets/synchash.rb, line 107
    def values
      @sync.synchronize(::Sync::SH) { super }
    end

[Validate]