001/* 002 * Copyright 2010-2018 Ping Identity Corporation 003 * All Rights Reserved. 004 */ 005/* 006 * Copyright (C) 2015-2018 Ping Identity Corporation 007 * 008 * This program is free software; you can redistribute it and/or modify 009 * it under the terms of the GNU General Public License (GPLv2 only) 010 * or the terms of the GNU Lesser General Public License (LGPLv2.1 only) 011 * as published by the Free Software Foundation. 012 * 013 * This program is distributed in the hope that it will be useful, 014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 016 * GNU General Public License for more details. 017 * 018 * You should have received a copy of the GNU General Public License 019 * along with this program; if not, see <http://www.gnu.org/licenses>. 020 */ 021package com.unboundid.ldap.sdk.unboundidds.extensions; 022 023 024 025import com.unboundid.asn1.ASN1Element; 026import com.unboundid.asn1.ASN1Null; 027import com.unboundid.util.NotMutable; 028import com.unboundid.util.ThreadSafety; 029import com.unboundid.util.ThreadSafetyLevel; 030 031 032 033/** 034 * This class provides an implementation of a changelog batch starting point 035 * which may be used to start a batch of changes at the first change available 036 * in the changelogs of all servers in the replication topology. 037 * <BR> 038 * <BLOCKQUOTE> 039 * <B>NOTE:</B> This class, and other classes within the 040 * {@code com.unboundid.ldap.sdk.unboundidds} package structure, are only 041 * supported for use against Ping Identity, UnboundID, and Alcatel-Lucent 8661 042 * server products. These classes provide support for proprietary 043 * functionality or for external specifications that are not considered stable 044 * or mature enough to be guaranteed to work in an interoperable way with 045 * other types of LDAP servers. 046 * </BLOCKQUOTE> 047 */ 048@NotMutable() 049@ThreadSafety(level=ThreadSafetyLevel.COMPLETELY_THREADSAFE) 050public final class BeginningOfChangelogStartingPoint 051 extends ChangelogBatchStartingPoint 052{ 053 /** 054 * The BER type to use for the ASN.1 element used to encode this starting 055 * point. 056 */ 057 static final byte TYPE = (byte) 0x82; 058 059 060 061 /** 062 * The pre-encoded representation of this changelog batch starting point. 063 */ 064 private static final ASN1Null ENCODED_ELEMENT = new ASN1Null(TYPE); 065 066 067 068 /** 069 * The serial version UID for this serializable class. 070 */ 071 private static final long serialVersionUID = 8048301335476843820L; 072 073 074 075 /** 076 * Creates a new instance of this changelog batch starting point. 077 */ 078 public BeginningOfChangelogStartingPoint() 079 { 080 // No implementation is required. 081 } 082 083 084 085 /** 086 * {@inheritDoc} 087 */ 088 @Override() 089 public ASN1Element encode() 090 { 091 return ENCODED_ELEMENT; 092 } 093 094 095 096 /** 097 * {@inheritDoc} 098 */ 099 @Override() 100 public void toString(final StringBuilder buffer) 101 { 102 buffer.append("BeginningOfChangelogStartingPoint()"); 103 } 104}