1 src/com/danga/ByteBufArrayInputStream.java
2 ==========================================
3 * Copyright (c) 2007 Greg Whalin
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the BSD license
9 * This library is distributed in the hope that it will be
10 * useful, but WITHOUT ANY WARRANTY; without even the implied
11 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * You should have received a copy of the BSD License along with this
17 * @author greg whalin <greg@meetup.com>
20 src/com/danga/ContextObjectInputStream.java
21 ===========================================
22 * MemCached Java client
23 * Copyright (c) 2008 Greg Whalin
24 * All rights reserved.
26 * This library is free software; you can redistribute it and/or
27 * modify it under the terms of the BSD license
29 * This library is distributed in the hope that it will be
30 * useful, but WITHOUT ANY WARRANTY; without even the implied
31 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
34 * You should have received a copy of the BSD License along with this
37 * Adds the ability for the MemCached client to be initialized
38 * with a custom class loader. This will allow for the
39 * deserialization of classes that are not visible to the system
42 * @author Vin Chawla <vin@tivo.com>
44 src/com/danga/ErrorHandler.java
45 ===============================
46 * MemCached Java client
47 * Copyright (c) 2007 Greg Whalin
48 * All rights reserved.
50 * This library is free software; you can redistribute it and/or
51 * modify it under the terms of the BSD license
53 * This library is distributed in the hope that it will be
54 * useful, but WITHOUT ANY WARRANTY; without even the implied
55 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
58 * You should have received a copy of the BSD License along with this
61 * This is an interface implemented by classes that want to receive callbacks
62 * in the event of an error in {@link MemCachedClient}. The implementor can do
63 * things like flush caches or perform additioonal logging.
65 * @author Dan Zivkovic <zivkovic@apple.com>
69 src/com/danga/NestedIOException.java
70 ====================================
71 * MemCached Java client
72 * Copyright (c) 2007 Greg Whalin
73 * All rights reserved.
75 * This library is free software; you can redistribute it and/or
76 * modify it under the terms of the BSD license
78 * This library is distributed in the hope that it will be
79 * useful, but WITHOUT ANY WARRANTY; without even the implied
80 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
83 * You should have received a copy of the BSD License along with this
86 * @author Kevin A. Burton <burton@peerfear.org>
91 ======================================================
92 * Copyright (c) 2007, Greg Whain
93 * All rights reserved.
95 * Redistribution and use in source and binary forms, with or without
96 * modification, are permitted provided that the following conditions are met:
97 * * Redistributions of source code must retain the above copyright
98 * notice, this list of conditions and the following disclaimer.
99 * * Redistributions in binary form must reproduce the above copyright
100 * notice, this list of conditions and the following disclaimer in the
101 * documentation and/or other materials provided with the distribution.
102 * * Neither the name of the <organization> nor the
103 * names of its contributors may be used to endorse or promote products
104 * derived from this software without specific prior written permission.
106 * THIS SOFTWARE IS PROVIDED BY Greg Whalin ``AS IS'' AND ANY
107 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
108 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
109 * DISCLAIMED. IN NO EVENT SHALL Greg Whalin BE LIABLE FOR ANY
110 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
111 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
112 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
113 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
114 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
115 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
118 A copy of the BSD license was not supplied so I selected:
119 http://www.opensource.org/licenses/bsd-license.php
120 =====================================================
121 Open Source Initiative OSI - The BSD License:Licensing
123 The following is a BSD license template. To generate your own license, change the values of OWNER, ORGANIZATION and YEAR from their original values as given here, and substitute your own. Also, you may optionally omit clause 3 and still be OSD conformant.
124 Note: On January 9th, 2008 the OSI Board approved the "Simplified BSD License" variant used by FreeBSD and others, which omits the final "no-endorsement" clause and is thus roughly equivalent to the MIT License.
125 Historical Note: The original license used on BSD Unix had four clauses. The advertising clause (the third of four clauses) required you to acknowledge use of U.C. Berkeley code in your advertising of any product using that code. It was officially rescinded by the Director of the Office of Technology Licensing of the University of California on July 22nd, 1999. He states that clause 3 is "hereby deleted in its entirety." The four clause license has not been approved by OSI. The license below does not contain the advertising clause.
126 This prelude is not part of the license.
127 <OWNER> = Regents of the University of California
128 <ORGANIZATION> = University of California, Berkeley
130 In the original BSD license, both occurrences of the phrase "COPYRIGHT HOLDERS AND CONTRIBUTORS" in the disclaimer read "REGENTS AND CONTRIBUTORS".
131 Here is the license template:
132 Copyright (c) <YEAR>, <OWNER>
134 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
135 Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
136 Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
137 Neither the name of the <ORGANIZATION> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
138 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.