equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1996, 2017, 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 |
80 // add ref to list of refs for endpoint ep |
80 // add ref to list of refs for endpoint ep |
81 refList.add(ref); |
81 refList.add(ref); |
82 } |
82 } |
83 |
83 |
84 /** |
84 /** |
|
85 * Discard the saved incoming refs so there is nothing to register |
|
86 * when {@code registerRefs} is called. |
|
87 */ |
|
88 void discardRefs() { |
|
89 incomingRefTable.clear(); |
|
90 } |
|
91 |
|
92 /** |
85 * Add references to DGC table (and possibly send dirty call). |
93 * Add references to DGC table (and possibly send dirty call). |
86 * RegisterRefs now calls DGCClient.referenced on all |
94 * RegisterRefs now calls DGCClient.referenced on all |
87 * refs with the same endpoint at once to achieve batching of |
95 * refs with the same endpoint at once to achieve batching of |
88 * calls to the DGC |
96 * calls to the DGC |
89 */ |
97 */ |