Examples of Key

Keys are generally obtained through key generators, certificates, or various Identity classes used to manage keys. Keys may also be obtained from key specifications (transparent representations of the underlying key material) through the use of a key factory (see {@link KeyFactory}).

A Key should use KeyRep as its serialized representation. Note that a serialized Key may contain sensitive information which should not be exposed in untrusted environments. See the Security Appendix of the Serialization Specification for more information. @see PublicKey @see PrivateKey @see KeyPair @see KeyPairGenerator @see KeyFactory @see KeyRep @see java.security.spec.KeySpec @see Identity @see Signer @version 1.57 06/04/21 @author Benjamin Renaud

  • javax.xml.registry.infomodel.Key
    @version $Revision$ $Date$
  • net.karneim.pojobuilder.model.PropertyListM.Key
  • nexj.core.meta.persistence.Key
    Interface representing a multi-part key.
  • nl.topicus.onderwijs.dashboard.keys.Key
  • oracle.kv.Key
  • org.aeonbits.owner.Config.Key
  • org.apache.accumulo.core.data.Key
  • org.apache.accumulo.proxy.thrift.Key
  • org.apache.camel.avro.generated.Key
  • org.apache.deltacloud.client.Key
    @author Andre Dietisheim
  • org.apache.flink.runtime.operators.testutils.TestData.Key
  • org.apache.flink.types.Key
    This interface has to be implemented by all data types that act as key. Keys are used to establish relationships between values. A key must always be {@link java.lang.Comparable} to other keys ofthe same type. In addition, keys must implement a correct {@link java.lang.Object#hashCode()} methodand {@link java.lang.Object#equals(Object)} method to ensure that grouping on keys works properly.

    This interface extends {@link org.apache.flink.types.Value} and requires to implementthe serialization of its value. @see org.apache.flink.types.Value @see org.apache.flink.core.io.IOReadableWritable @see java.lang.Comparable

  • org.apache.hadoop.fs.FileSystem.Cache.Key
  • org.apache.hadoop.hbase.migration.nineteen.onelab.filter.Key
    The general behavior of a key that must be stored in a filter.
  • org.apache.hadoop.util.bloom.Key
    The general behavior of a key that must be stored in a filter. @see Filter The general behavior of a filter
  • org.apache.jackrabbit.core.nodetype.EffectiveNodeTypeCache.Key
  • org.apache.jackrabbit.oak.plugins.document.UpdateOp.Key
  • org.apache.jackrabbit.oak.plugins.mongomk.UpdateOp.Key
  • org.apache.olingo.odata2.api.edm.provider.Key
    Objects of this class represent a key for an entity type
  • org.apache.tuscany.das.rdb.Key
    A key instance is used to describe a Table key definition. This is used primarily for compound keys since simple keys are described with a name.
  • org.apache.wicket.protocol.http.mock.Cookies.Key
  • org.apache.wicket.request.resource.ResourceReference.Key
  • org.apache.xerces.validators.schema.identity.Key
    Schema key identity constraint. @author Andy Clark, IBM @version $Id: Key.java,v 1.3 2001/02/20 06:12:28 andyc Exp $
  • org.apache.xindice.core.data.Key
    Key extends Value by providing a hash value for the Key.
  • org.ardverk.dht.rsrc.Key
    A {@link Key} is an unique identifier of a {@link Value}.
  • org.chaidb.db.index.Key
    This interface defines different IDBIndex key types, and methods to compare two keys.
  • org.crosswire.jsword.passage.Key
  • org.cruxframework.crux.core.client.db.annotation.Store.Key
  • org.eclipse.php.internal.ui.preferences.util.Key
  • org.exolab.castor.xml.schema.Key
    A class that represents the XML Schema Identity Constraint: Key. @author Keith Visco @version $Revision: 6230 $ $Date: 2006-04-14 04:14:43 -0600 (Fri, 14 Apr 2006) $
  • org.filsa.nikujaga.pong.Keys.Key
  • org.hdiv.cipher.Key
    Stored Session related data in the cipher section @author Roberto Velasco
  • org.hibernate.ogm.grid.Key
    The key of an entity, association or row.

    Note that exposing the state of instances through arrays is a deliberate decision for the sake of performance. The contents of these arrays must not be modified by the caller. @author Gunnar Morling

  • org.hypertable.thriftgen.Key
  • org.infinispan.test.data.Key
  • org.jayasoft.woj.common.model.security.Key
  • org.jboss.aesh.terminal.Key
  • org.jboss.dna.graph.query.validate.Schemata.Key
  • org.jboss.remoting3.HandleableCloseable.Key
    The VersionedConnectionFactory to negotiate the version on the client side and return an appropriate VersionedConnection for the negotiated version.

    As the only entry point to this class is the create method and as that method creates a new instance for each call it is guaranteed there will not be concurrent negotiations occurring. @author Darran Lofthouse

  • org.jboss.repository.spi.Key
    @author Scott.Stark@jboss.org @version $Revision: 42147 $
  • org.jboss.shrinkwrap.resolver.impl.maven.archive.plugins.ConfigurationUtils.Key
  • org.jboss.test.hibernate.timers.interfaces.Key
    Example ejb key associated with a timer. @author Scott.Stark@jboss.org @version $Revision: 81036 $
  • org.jclouds.ibm.smartcloud.domain.Key
    The current state of a public or private key. @author Adrian Cole
  • org.jclouds.joyent.cloudapi.v6_5.domain.Key
    oyent.com/sdcapidoc/cloudapi/index.html#ListKeys" >docs
  • org.jf.dexlib2.writer.pool.ProtoPool.Key
  • org.jitterbit.crypto.pgp.Key
    Interface defining a public key for PGP encryption. @author Torgil Zethson @since 2.0.0
  • org.jitterbit.integration.client.ui.project.trashcan.InspectionUtils.Key
  • org.jnode.driver.input.Key
    @author Martin Husted Hartvig @since 0.1.6
  • org.kite9.diagram.adl.Key
  • org.kitesdk.data.Key

    A key for retrieving entities from a {@link RandomAccessDataset}.

    @since 0.9.0
  • org.modeshape.jcr.query.validate.Schemata.Key
  • org.mongodb.morphia.Key

    The key object; this class is take from the app-engine datastore (mostly) implementation. It is also Serializable and GWT-safe, enabling your entity objects to be used for GWT RPC should you so desire.

    You may use normal DBRef objects as relationships in your entities if you desire neither type safety nor GWT-ability.

    @author Jeff Schnitzer (from Objectify codebase) @author Scott Hernandez (adapted to morphia/mongodb)
  • org.nfctools.mf.classic.Key
  • org.objectstyle.wolips.eomodeler.core.kvc.Key
  • org.onelab.filter.Key
    The general behavior of a key that must be stored in a filter. @see org.onelab.filter.Filter The general behavior of a filter
  • org.openstreetmap.josm.gui.tagging.TaggingPresetItems.Key
  • org.quartz.utils.Key

    Object representing a job or trigger key.

    @author Jeffrey Wescott
  • org.raml.parser.annotation.Key
  • org.sdnplatform.sync.internal.store.Key
    Represent a key in the sync system. Keys consist of a namespace and a key name. Namespaces should be dot-separated such as "com.bigswitch.device" @author readams
  • org.ugate.resources.RS.KEY
  • org.woped.quantana.graph.Key
  • org.xdams.xw.utility.Key
    @author sandroPer modificare il modello associato al commento di questo tipo generato, aprire Finestra>Preferenze>Java>Generazione codice>Codice e commenti
  • railo.runtime.type.Collection.Key
  • se.unlogic.standardutils.dao.annotations.Key
  • sprites.io.Key
  • uk.org.ogsadai.config.Key
  • water.Key
    Keys This class defines: - A Key's bytes (name) & hash - Known Disk & memory replicas. - A cache of somewhat expensive to compute stuff related to the current Cloud, plus a byte of the desired replication factor. Keys are expected to be a high-count item, hence the care about size. Keys are *interned* in the local K/V store, a non-blocking hash set and are kept pointer equivalent (via the interning) for cheap compares. The interning only happens after a successful insert in the local H2O.STORE via H2O.put_if_later. @author @version 1.0
  • winterwell.utils.Key
    For doing type-safe multi-class maps. Can be sorted by key name. @see Properties @see IProperties @author daniel
  • xbird.storage.index.Key
    Key extends Value by providing a hash value for the Key.
    @author Makoto YUI (yuin405+xbird@gmail.com)

  • Examples of org.hypertable.thriftgen.Key

            if (_debug) {
                System.out.println("Doing delete for key: "+key);
            }
           
            Cell entry = new Cell();
            entry.key = new Key();
            entry.key.row = key;
            entry.key.flag = KeyFlag.DELETE_ROW;
           
            try {
                connection.set_cell(ns, table, entry);
    View Full Code Here

    Examples of org.infinispan.test.data.Key

          String v3 = "v3";
          String v4 = "v4";
          String v5 = "v5";
          String v6 = "v6";
          String v_null = "v_nonexistent";
          final Key key = new Key("k", true);

          // put
          log.trace("Before put");
          Future<String> f = c1.putAsync(key, v);
          assert f != null;
          assert !f.isDone();
          assert c2.get(key) == null;
          log.info("*** Allowing serialization on key");
          key.allowSerialization();
          log.info("*** Finished allowing serialization on key, checking future if cancelled");
          assert !f.isCancelled();
          log.info("*** Future not cancelled, checking future.get()");
          assert f.get() == null;
          assert f.isDone();
          assertOnAllCaches(key, v, c1, c2);

          log.trace("Before put2");
          f = c1.putAsync(key, v2);
          assert f != null;
          assert !f.isDone();
          assert c2.get(key).equals(v);
          key.allowSerialization();
          assert !f.isCancelled();
          assert f.get().equals(v);
          assert f.isDone();
          assertOnAllCaches(key, v2, c1, c2);

          log.trace("Before putAll");
          Future<Void> f2 = c1.putAllAsync(Collections.singletonMap(key, v3));
          assert f2 != null;
          assert !f2.isDone();
          assert c2.get(key).equals(v2);
          key.allowSerialization();
          assert !f2.isCancelled();
          assert f2.get() == null;
          assert f2.isDone();
          assertOnAllCaches(key, v3, c1, c2);

          log.trace("Before putIfAbsent");
          f = c1.putIfAbsentAsync(key, v4);
          assert f != null;
          assert c2.get(key).equals(v3);
          assert !f.isCancelled();
          assert f.get().equals(v3);
          assert f.isDone();
          assertOnAllCaches(key, v3, c1, c2);

          log.trace("Before remove");
          f = c1.removeAsync(key);
          assert f != null;
          assert !f.isDone();
          assert c2.get(key).equals(v3);
          key.allowSerialization();
          assert !f.isCancelled();
          assert f.get().equals(v3);
          assert f.isDone();
          assertOnAllCaches(key, null, c1, c2);




          log.trace("Before putIfAbsentAsync");
          f = c1.putIfAbsentAsync(key, v4);
          assert f != null;
          assert !f.isDone();
          key.allowSerialization();
          assert !f.isCancelled();
          assert f.get() == null;
          assert f.isDone();
          assertOnAllCaches(key, v4, c1, c2);

          log.trace("Before removeAsync");
          Future<Boolean> f3 = c1.removeAsync(key, v_null);
          assert f3 != null;
          assert !f3.isCancelled();
          assert f3.get().equals(false);
          assert f3.isDone();
          assertOnAllCaches(key, v4, c1, c2);

          log.trace("Before removeAsync2");
          f3 = c1.removeAsync(key, v4);
          assert f3 != null;
          assert !f3.isDone();
          assert c2.get(key).equals(v4);
          key.allowSerialization();
          assert !f3.isCancelled();
          assert f3.get().equals(true);
          assert f3.isDone();
          assertOnAllCaches(key, null, c1, c2);

          log.trace("Before replaceAsync");
          f = c1.replaceAsync(key, v5);
          assert f != null;
          assert !f.isCancelled();
          assert f.get() == null;
          assert f.isDone();
          assertOnAllCaches(key, null, c1, c2);

          log.trace("Before put(k,v) " + key + ", " + v);
          key.allowSerialization();
          resetListeners();
          c1.put(key, v);
          eventually(new Condition() {
             @Override
             public boolean isSatisfied() throws Exception {
                return v.equals(c1.get(key)) && v.equals(c2.get(key));
             }
          });

          log.trace("After put(k,v) " + key + ", " + v);

          log.trace("Before replaceAsync2");
          f = c1.replaceAsync(key, v5);
          assert f != null;
          assert !f.isDone();
          assert c2.get(key).equals(v);
          key.allowSerialization();
          assert !f.isCancelled();
          assert f.get().equals(v);
          assert f.isDone();
          assertOnAllCaches(key, v5, c1, c2);

          log.trace("Before replaceAsync3");
          f3 = c1.replaceAsync(key, v_null, v6);
          assert f3 != null;
          assert !f3.isCancelled();
          assert f3.get().equals(false);
          assert f3.isDone();
          assertOnAllCaches(key, v5, c1, c2);

          log.trace("Before replaceAsync4");
          f3 = c1.replaceAsync(key, v5, v6);
          assert f3 != null;
          assert !f3.isDone();
          assert c2.get(key).equals(v5);
          key.allowSerialization();
          assert !f3.isCancelled();
          assert f3.get().equals(true);
          assert f3.isDone();
          assertOnAllCaches(key, v6, c1, c2);
       }
    View Full Code Here

    Examples of org.jayasoft.woj.common.model.security.Key

        }
       
        public void syncPrivateKey(Server server, boolean force) {
            LOGGER.info("syncing private key with "+server);
            try {
                Key newPrivateKey = ServerServicesProvider.get(server).getSynchronizationService().getPrivateKey();
                if (newPrivateKey != null) {
                    WOJServer.getInstance().getServerManagementService().setNewPrivateKey(newPrivateKey);
                }
            } catch (ServiceException e) {
                LOGGER.warn("a problem occured while synchronizing private key with "+server, e);
    View Full Code Here

    Examples of org.jboss.aesh.terminal.Key

                boolean parsing = true;
                //use a position instead of changing the array
                int position = 0;
                //if we get a paste or have input lag this should parse it correctly...
                while(parsing) {
                    Key inc = Key.findStartKey(input, position);
                    if(input.length > inc.getKeyValues().length+position) {
                        position += inc.getKeyValues().length;
                    }
                    else {
                        parsing = false;
                    }

                    //if we have a command hooked in the input goes there
                    if(command != null)
                        command.processOperation(new CommandOperation(input));
                    //the input is parsed by æsh
                    else {
                        Operation operation = editMode.parseInput(inc, buffer.getLine());
                        if(inc != Key.UNKNOWN)
                            operation.setInput(inc.getKeyValues());
                        else
                            operation.setInput(new int[]{input[position]});
                        String result = parseOperation(operation, buffer.getPrompt().getMask());
                        if(result != null)
                            processOperationResult(result);
    View Full Code Here

    Examples of org.jboss.dna.graph.query.validate.Schemata.Key

            // Define the keys ...
            if (keyColumns != null) {
                Set<Key> keys = new HashSet<Key>();
                for (Iterable<Column> keyColumnSet : keyColumns) {
                    if (keyColumnSet != null) {
                        Key key = new ImmutableKey(keyColumnSet);
                        keys.add(key);
                    }
                }
                this.keys = Collections.unmodifiableSet(keys);
            } else {
    View Full Code Here

    Examples of org.jboss.remoting3.HandleableCloseable.Key

                    }
                }
            }

            private void doProcessRequest() {
                final Key closeKey = getChannel().addCloseHandler(new CloseHandler<Channel>() {
                    public void handleClose(final Channel closed, final IOException exception) {
                        asynchRequests.remove(getHeader().getBatchId());
                    }
                });
                OperationAttachmentsProxy attachmentsProxy = new OperationAttachmentsProxy(getChannel(), batchId, attachmentsLength);
                try {
                    try {
                        log.tracef("Executing client request %d(%d)", batchId, getHeader().getRequestId());
                        if (asynch) {
                            //register the cancel handler
                            asynchRequests.put(batchId, Thread.currentThread());
                        }
                        result = controller.execute(
                                operation,
                                new OperationMessageHandlerProxy(getChannel(), batchId),
                                ModelController.OperationTransactionControl.COMMIT,
                                attachmentsProxy);
                    } catch (Exception e) {
                        final ModelNode failure = new ModelNode();
                        failure.get(OUTCOME).set(FAILED);
                        failure.get(FAILURE_DESCRIPTION).set(e.getClass().getName() + ":" + e.getMessage());
                        result = failure;
                        attachmentsProxy.shutdown(e);
                    } finally {
                        log.tracef("Executed client request %d", batchId);
                    }
                } finally {
                    if (asynch) {
                        asynchRequests.remove(batchId);
                    }
                    closeKey.remove();
                }
            }
    View Full Code Here

    Examples of org.jboss.repository.spi.Key

          for(int n = 0; n <= level; n ++)
          {
             String levelKey = CommonNames.LEVELS[n];
             String value = (String) attributes.get(levelKey);
             tmp.put(levelKey, value);
             Key tmpKey = new Key(key.getName(), tmp);
             levelData[n] = (MetaData) maps[n].get(tmpKey);
          }

          return combiner.combine(key, levelData);
       }
    View Full Code Here

    Examples of org.jboss.shrinkwrap.resolver.impl.maven.archive.plugins.ConfigurationUtils.Key

        public WarPluginConfiguration(ParsedPomFile pomFile) {
            super(pomFile);
            Map<String, Object> rawValues = pomFile.getPluginConfiguration(WAR_PLUGIN_GA);

            this.warSourceDirectory = ConfigurationUtils.valueAsFile(rawValues, new Key("warSourceDirectory"),
                    pomFile.getBaseDirectory(), new File(pomFile.getBaseDirectory(), "src/main/webapp"));

            // excludes
            List<String> excludes = new ArrayList<String>();
            excludes.addAll(ConfigurationUtils.valueAsStringList(rawValues, new Key("excludes", "exclude"),
                    Collections.<String> emptyList()));
            excludes.addAll(ConfigurationUtils.valueAsStringList(rawValues, new Key("packagingExcludes"),
                    Collections.<String> emptyList()));
            excludes.addAll(ConfigurationUtils.valueAsStringList(rawValues, new Key("warSourceExcludes"),
                    Collections.<String> emptyList()));
            this.excludes = excludes.toArray(new String[0]);

            // includes
            List<String> includes = new ArrayList<String>();
            includes.addAll(ConfigurationUtils.valueAsStringList(rawValues, new Key("includes", "include"), Arrays.asList("**/**")));
            includes.addAll(ConfigurationUtils.valueAsStringList(rawValues, new Key("packagingIncludes"),
                    Collections.<String> emptyList()));
            includes.addAll(ConfigurationUtils.valueAsStringList(rawValues, new Key("warSourceIncludes"),
                    Collections.<String> emptyList()));
            this.includes = includes.toArray(new String[0]);
        }
    View Full Code Here

    Examples of org.jboss.test.hibernate.timers.interfaces.Key

             TimersID id = new TimersID("testCurrentSession", "*:ejb=None");
             Timers timer = new Timers(id);
             Date now = new Date();
             Long interval = new Long(5*1000);
             Key key = new Key("key2", 123456789);
             Info info = new Info(System.getProperties());
             timer.setInitialDate(now);
             timer.setInstancePK(serialize(key));
             timer.setTimerInterval(interval);
             timer.setInfo(serialize(info));
    View Full Code Here

    Examples of org.jclouds.ibm.smartcloud.domain.Key

       @Test
       public void testGetKey() throws Exception {
          Set<? extends Key> response = connection.listKeys();
          assertNotNull(response);
          if (response.size() > 0) {
             Key key = Iterables.get(response, 0);
             assertEquals(connection.getKey(key.getName()).getName(), key.getName());
          }
       }
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.