public static int SetLastReadTime(IntPtr l) { int result; try { UnThreadSafeLRUCacheObject unThreadSafeLRUCacheObject = (UnThreadSafeLRUCacheObject)LuaObject.checkSelf(l); unThreadSafeLRUCacheObject.SetLastReadTime(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { UnThreadSafeLRUCacheObject o = new UnThreadSafeLRUCacheObject(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetLastUpdateTime(IntPtr l) { int result; try { UnThreadSafeLRUCacheObject unThreadSafeLRUCacheObject = (UnThreadSafeLRUCacheObject)LuaObject.checkSelf(l); long lastUpdateTime = unThreadSafeLRUCacheObject.GetLastUpdateTime(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, lastUpdateTime); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }