KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > quartz > impl > jdbcjobstore > SchedulerStateRecord


1 /*
2  * Copyright 2004-2005 OpenSymphony
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5  * use this file except in compliance with the License. You may obtain a copy
6  * of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13  * License for the specific language governing permissions and limitations
14  * under the License.
15  *
16  */

17
18 /*
19  * Previously Copyright (c) 2001-2004 James House
20  */

21 package org.quartz.impl.jdbcjobstore;
22
23 /**
24  * <p>
25  * Conveys a scheduler-instance state record.
26  * </p>
27  *
28  * @author James House
29  */

30 public class SchedulerStateRecord implements java.io.Serializable JavaDoc {
31
32     /*
33      * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34      *
35      * Data members.
36      *
37      * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38      */

39
40     private String JavaDoc schedulerInstanceId;
41
42     private long checkinTimestamp;
43
44     private long checkinInterval;
45
46     /*
47      * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
48      *
49      * Interface.
50      *
51      * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52      */

53
54     /**
55      */

56     public long getCheckinInterval() {
57         return checkinInterval;
58     }
59
60     /**
61      */

62     public long getCheckinTimestamp() {
63         return checkinTimestamp;
64     }
65
66     /**
67      */

68     public String JavaDoc getSchedulerInstanceId() {
69         return schedulerInstanceId;
70     }
71
72     /**
73      */

74     public void setCheckinInterval(long l) {
75         checkinInterval = l;
76     }
77
78     /**
79      */

80     public void setCheckinTimestamp(long l) {
81         checkinTimestamp = l;
82     }
83
84     /**
85      */

86     public void setSchedulerInstanceId(String JavaDoc string) {
87         schedulerInstanceId = string;
88     }
89
90 }
91
92 // EOF
93
Popular Tags