国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

[推薦]一位SCJDer(153/155)的Design details

2019-11-18 11:44:27
字體:
來源:轉載
供稿:網友

  Design details :
  1. Data layer :
   Data class is implemented as a Singleton pattern .
   (Only one exists per VM) .
   Defined a new LockManager for locking / unlocking methods .
   Also a Singleton.
  
   Changed the signature of the lock / unlock methods to
  track the owner of the lock by clientID passed from the
  client.
  
   Locking scheme checks for the following :
   a. Before performing full database lock, check if database already locked by another client,
   b. Before record unlocking or full database unlock, check if the clientID is the same as the owner of the lock.
   c. Before full database unlock, check if the database is locked in the first place.
  2. Server layer
   Adapter pattern .
   Multithreading implementation.
  3. Client Layer :
   Factory , Mediator
  
  4. Other points :
  Used RMI . Modified Data class. Used Multithreaded Server design .
   Only Write Locks (no read locks) .

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 凤阳县| 越西县| 咸宁市| 高密市| 临沭县| 共和县| 绿春县| 杨浦区| 绥阳县| 华安县| 定安县| 青岛市| 白玉县| 长沙市| 万安县| 漳平市| 肇东市| 阿城市| 敦煌市| 邓州市| 民权县| 柏乡县| 九龙坡区| 桓台县| 玉林市| 清水河县| 延川县| 张家川| 灯塔市| 南康市| 永仁县| 易门县| 西畴县| 岳池县| 贵州省| 永康市| 华阴市| 辉南县| 沁水县| 蒲江县| 久治县|