Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 5037a940ce89b0dfb6b23752aa8f0c5b0964482f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package org.eclipse.emf.cdo.session;

/**
 * Describes a model repository a {@link CDOSession session} is connected to.
 * 
 * @author Eike Stepper
 * @see CDOSession#getRepositoryInfo()
 * @since 3.0
 */
public interface CDORepositoryInfo
{
  /**
   * Returns the name of this repository.
   * 
   * @see IRepository#getName()
   */
  public String getName();

  /**
   * Returns the UUID of this repository.
   * 
   * @see IRepository#getUUID()
   */
  public String getUUID();

  /**
   * Returns the creation time of this repository.
   * 
   * @see IRepository#getCreationTime()
   */
  public long getCreationTime();

  /**
   * Returns the approximate current time of this repository.
   * <p>
   * Same as calling <code>getCurrentTime(false)</code>.
   * 
   * @see #getCurrentTime(boolean)
   */
  public long getCurrentTime();

  /**
   * Returns the approximate current time of this repository by optionally refreshing the approximation from the server.
   */
  public long getCurrentTime(boolean forceRefresh);

  /**
   * Returns <code>true</code> if this repository supports auditing, <code>false</code> otherwise.
   * 
   * @see IRepository#isSupportingAudits()
   */
  public boolean isSupportingAudits();
}

Back to the top