Implement cache state in mono core
Make code structure for getLock() of monoApplication