All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jladder.db.KeepDao Maven / Gradle / Ivy

There is a newer version: 5.0.44
Show newest version
package com.jladder.db;

/// 
/// 持续数据库访问操作对象
/// 
public class KeepDao
{
    /// 
    /// 数据库访问操作对象
    /// 
    public IDao Dao;
    /// 
    /// 数据库事务是否可以管理
    /// 
    public boolean isManageTran;
    /// 
    /// 是否允许关闭
    /// 
    public boolean isAllowClose= true;
    /// 
    /// 提请次数
    /// 
    public int takeTimes = 0;
    /// 
    /// 完成次数
    /// 
    public int finishTimes = 0;
    /// 
    /// 是否当前活动
    /// 
    public boolean isActive= true;



    public int sequence= 0;

    /// 
    /// 提请一次
    /// 
    /// 
    public int take()
    {
        takeTimes++;
        return takeTimes;
    }
    /// 
    /// 完成放置一次
    /// 
    /// 
    public int finish()
    {
        finishTimes++;
        return finishTimes;
    }



}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy