code: @Override
      public void delete(Object entity, Object pKey)
      {
          EntityMetadata metadata = KunderaMetadataManager.getEntityMetadata(kunderaMetadata, entity.getClass());
          Object connection = getConnection();
          Pipeline pipeLine = null;
          try
          {
              if (isBoundTransaction())
              {
                  pipeLine = ((Jedis) connection).pipelined();
                  onDelete(entity, pKey, pipeLine);
              }
              else
              {
                  onDelete(entity, pKey, connection);
              }
              getIndexManager().remove(metadata, entity, pKey);
          }
          finally
          {
              if (pipeLine != null)
              {
                  pipeLine.sync();
              }
              onCleanup(connection);
          }
      }
docs: /*
  (non-Javadoc)
  
  @see com.impetus.kundera.client.Client#delete(java.lang.Object,
  java.lang.Object)