/*******************************************************************************
 * Copyright (c) 2005-2008 VecTrace (Zingo Andersen) and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Bastian Doetsch  implementation
 *     Andrei Loskutov - bug fixes
 *******************************************************************************/
package com.vectrace.MercurialEclipse.team.cache;

import com.vectrace.MercurialEclipse.model.ChangeSet.Direction;

/**
 * Cache for all changesets not present locally but existing on the server
 */
public final class OutgoingChangesetCache extends AbstractRemoteCache {

	private static OutgoingChangesetCache instance;

	private OutgoingChangesetCache() {
		super(Direction.OUTGOING);
	}

	public static synchronized OutgoingChangesetCache getInstance() {
		if (instance == null) {
			instance = new OutgoingChangesetCache();
		}
		return instance;
	}

}
