@Override public String[] getValueNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } Set<String> keys = map.readAllKeySet(); return keys.toArray(new String[keys.size()]); } return super.getValueNames(); }
@Override public String[] getValueNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } Set<String> keys = map.readAllKeySet(); return keys.toArray(new String[keys.size()]); } return super.getValueNames(); }
@Override public String[] getValueNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } Set<String> keys = map.readAllKeySet(); return keys.toArray(new String[keys.size()]); } return super.getValueNames(); }
@Override public Enumeration<String> getAttributeNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } return Collections.enumeration(map.readAllKeySet()); } return super.getAttributeNames(); }
@Override public String[] getValueNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } Set<String> keys = map.readAllKeySet(); return keys.toArray(new String[keys.size()]); } return super.getValueNames(); }
@Override public Enumeration<String> getAttributeNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } return Collections.enumeration(map.readAllKeySet()); } return super.getAttributeNames(); }
@Override public Enumeration<String> getAttributeNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } return Collections.enumeration(map.readAllKeySet()); } return super.getAttributeNames(); }
@Override public Enumeration<String> getAttributeNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } return Collections.enumeration(map.readAllKeySet()); } return super.getAttributeNames(); }
@Override public String[] getValueNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } Set<String> keys = map.readAllKeySet(); return keys.toArray(new String[keys.size()]); } return super.getValueNames(); }
@Override public Enumeration<String> getAttributeNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } return Collections.enumeration(map.readAllKeySet()); } return super.getAttributeNames(); }
Set<String> allKeys = map.readAllKeySet(); Collection<Integer> allValues = map.readAllValues(); Set<Entry<String, Integer>> allEntries = map.readAllEntrySet();