@lock


Description:

public void @lock (CacheLockType lock_type)

Locks the this thus other threads cannot use it.

This can be called recursively within one thread. Each call should have its pair @unlock .

Parameters:

this

an Cache

lock_type

an CacheLockType