equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
35 * <p> |
35 * <p> |
36 * The <code>SerialRef</code> class provides a constructor for |
36 * The <code>SerialRef</code> class provides a constructor for |
37 * creating a <code>SerialRef</code> instance from a <code>Ref</code> |
37 * creating a <code>SerialRef</code> instance from a <code>Ref</code> |
38 * object and provides methods for getting and setting the <code>Ref</code> object. |
38 * object and provides methods for getting and setting the <code>Ref</code> object. |
39 * |
39 * |
40 * <h4> Thread safety </h4> |
40 * <h3> Thread safety </h3> |
41 * |
41 * |
42 * A SerialRef is not safe for use by multiple concurrent threads. If a |
42 * A SerialRef is not safe for use by multiple concurrent threads. If a |
43 * SerialRef is to be used by more than one thread then access to the SerialRef |
43 * SerialRef is to be used by more than one thread then access to the SerialRef |
44 * should be controlled by appropriate synchronization. |
44 * should be controlled by appropriate synchronization. |
45 * |
45 * |